Added test for email function existing in installapp
This commit is contained in:
parent
4bc6fbf89c
commit
4a3204b075
@ -24,4 +24,5 @@ APP=$1
|
||||
. /federated/lib/$APP.sh
|
||||
config_$APP
|
||||
start_$APP
|
||||
email_$APP
|
||||
# Only send email if email function exists
|
||||
[[ $(type -t email_$APP) == function ]] && email_$APP
|
||||
|
Loading…
x
Reference in New Issue
Block a user