From 226a3da87dd5973b98f3fda72b8f1410b2208eb4 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Jan 2018 00:12:41 -0500 Subject: [PATCH] fix: use correct parameter for APP name --- plugins/ps/subcommands/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"