fix: use correct parameter for APP name

This commit is contained in:
Jose Diaz-Gonzalez
2018-01-11 00:12:41 -05:00
committed by GitHub
parent 58332d707b
commit 226a3da87d

View File

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