From ba9805594044b89e06638b0e7c4e2387ebfcb28a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 15 Nov 2022 22:53:57 -0500 Subject: [PATCH] fix: drop the app argument when calling storage:ensure-directory from remote client Closes #5464 --- contrib/dokku_client.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 7db441667..af10e037c 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -147,6 +147,7 @@ main() { [[ " apps certs help ls nginx shell storage trace version " == *" $CMD "* ]] && unset APP [[ " certs:chain domains:add-global domains:remove-global domains:set-global ps:restore " == *" $CMD "* ]] && unset APP + [[ " storage:ensure-directory " == *" $CMD "* ]] && unset APP [[ "$CMD" =~ events*|plugin*|ssh-keys* ]] && unset APP [[ -n "$APP_ARG" ]] && [[ "$APP_ARG" == "--global" ]] && unset APP [[ -n "$@" ]] && [[ -n "$APP" ]] && app_arg="--app $APP"