Skip to content

Commit

Permalink
[fix] Exit is quit script not an end function
Browse files Browse the repository at this point in the history
* Halt function and not all script process
  • Loading branch information
camlafit committed Dec 12, 2024
1 parent 807d8cb commit 465c42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function generate_domains_type() {

#If any php, nothing to do
if [[ -z "${php_list}" ]]; then
exit 0;
return 0;
fi

for php_version in $php_list
Expand Down

0 comments on commit 465c42b

Please sign in to comment.