[installapp] - fixed bug where it was exiting 1 on success with -n option

This commit is contained in:
Derek Crudgington 2025-02-06 17:53:37 +00:00
parent f37439a92d
commit 786608439c

View File

@ -40,4 +40,6 @@ done
config_$APP
start_$APP
# Only send email if email function exists and NO_EMAIL isn't set
[[ ! "$NO_EMAIL" ]] && [[ -d "/federated/apps/mail" ]] && [[ $(type -t email_$APP) == function ]] && email_$APP
if [[ ! "$NO_EMAIL" ]] && [[ -d "/federated/apps/mail" ]] && [[ $(type -t email_$APP) == function ]]; then
email_$APP
fi