Cause certs:remove to return non zero on error

This was caught when writing the certs.bats. This patch will return
non zero on error instead of zero which can casue false negatives
in testing.
This commit is contained in:
Justin Clark
2015-11-11 18:18:06 -08:00
parent cff8e27545
commit 8a1f7fb900

View File

@@ -154,7 +154,7 @@ case "$1" in
rm -rf $APP_SSL_PATH
plugn trigger post-domains-update $APP
else
dokku_log_info1 "An app-specific SSL endpoint is not defined"
dokku_log_fail "An app-specific SSL endpoint is not defined"
fi
;;