From d7830fa73066a476653eba1b37cea3848339e65e Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Fri, 16 Jan 2015 17:41:32 -0800 Subject: [PATCH] prevent error on restartall when no apps deployed --- plugins/ps/commands | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ps/commands b/plugins/ps/commands index d0ae01076..1cd69b1ab 100755 --- a/plugins/ps/commands +++ b/plugins/ps/commands @@ -67,6 +67,7 @@ case "$1" in ;; ps:restartall) + shopt -s nullglob for app in $DOKKU_ROOT/*/CONTAINER; do APP=$(basename "$(dirname $app)"); dokku ps:restart $APP