Skip to content

Commit

Permalink
use return not exit
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Yves <[email protected]>
  • Loading branch information
docjyJ committed Jul 14, 2024
1 parent 5737873 commit 152d0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containers/apache/caddyfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function template_loop_subdomain {

if [ -z "$TRUSTED_DOMAINS" ] && [ -n "$SUBDOMAIN" ]; then
# Ignore subdomains if in proxy mode
exit 0
return 0
fi

cat << CADDY
Expand Down

0 comments on commit 152d0e6

Please sign in to comment.