mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
prevent error on restartall when no apps deployed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user