From 52d6143d970f46f7109c1272ddae63c9be20b977 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 13 Dec 2017 15:39:42 -0500 Subject: [PATCH] fix: correct the guard around the config_export call in config_sub --- plugins/config/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/config/functions b/plugins/config/functions index 8b6f1df49..1460fb99a 100755 --- a/plugins/config/functions +++ b/plugins/config/functions @@ -26,7 +26,7 @@ config_export() { config_all() { declare desc="Backwards compatible function for plugin use" - if [[ -z "$DOKKU_CONFIG_EXPORT" ]]; then + if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then config_export "$@" return 0 fi