[installapp] - fixed bug where it was exiting 1 on success with -n option
This commit is contained in:
parent
f37439a92d
commit
786608439c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user