diff --git a/plugins/ps/subcommands/restore b/plugins/ps/subcommands/restore index 5dc244aba..a363477d1 100755 --- a/plugins/ps/subcommands/restore +++ b/plugins/ps/subcommands/restore @@ -7,7 +7,7 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions" ps_restore_cmd() { declare desc="starts all apps with DOKKU_APP_RESTORE not set to 0 via command line" local cmd="ps:restore" - local APP="$1" + local APP="$2" if [[ -n "$APP" ]]; then DOKKU_APP_RESTORE="$(config_get "$APP" DOKKU_APP_RESTORE || true)"