fix: correct the guard around the config_export call in config_sub

This commit is contained in:
Jose Diaz-Gonzalez
2017-12-13 15:39:42 -05:00
committed by GitHub
parent 0fe5c645d6
commit 52d6143d97

View File

@@ -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