From 5522cf63f717e02ff318ba8cbb491ddd069e1eb2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 13 Dec 2017 15:46:53 -0500 Subject: [PATCH] fix: revert guard and pass app arg to config_export --- plugins/config/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/config/functions b/plugins/config/functions index 1460fb99a..6a36888a1 100755 --- a/plugins/config/functions +++ b/plugins/config/functions @@ -26,8 +26,8 @@ config_export() { config_all() { declare desc="Backwards compatible function for plugin use" - if [[ -n "$DOKKU_CONFIG_EXPORT" ]]; then - config_export "$@" + if [[ -z "$DOKKU_CONFIG_EXPORT" ]]; then + config_export app "$@" return 0 fi