fix: set cleanup to global when no application is specified
This commit is contained in:
1 parent
1a36c77c46
commit
9d45b0e2fb
1 file changed
+4
@@ -9,6 +9,10 @@ dokku_cleanup_cmd() {
|
||||
[[ "$1" == "$cmd" ]] && shift 1
|
||||
declare APP="$1"
|
||||
|
||||
if [[ -z "$APP" ]]; then
|
||||
APP="--global"
|
||||
fi
|
||||
|
||||
docker_cleanup "$APP" "true"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user