Use d-neg condition to prevent unexpected failures

This commit is contained in:
Alessio Treglia committed 2015-07-01 19:48:09 +01:00
1 parent 89d1acaa38
commit 0ed0201b90
1 file changed
+1 -1
+1 -1
View File
@@ -49,6 +49,6 @@ if [[ "$flag_rsyslog_needs_restart" == "y" ]]; then
service rsyslog restart service rsyslog restart
fi fi
[[ "$DOKKU_EVENTS" ]] && dokku_log_pluginhook_call "$(basename $0)" "$@" [[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@"
exit 0 exit 0