From 8a1f7fb900b82f07646c1167e9fbc9d063b7dab8 Mon Sep 17 00:00:00 2001 From: Justin Clark Date: Wed, 11 Nov 2015 18:18:06 -0800 Subject: [PATCH] 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. --- plugins/certs/commands | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/certs/commands b/plugins/certs/commands index 226343052..51c967832 100755 --- a/plugins/certs/commands +++ b/plugins/certs/commands @@ -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 ;;