mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
fix: set cleanup to global when no application is specified
This commit is contained in:
@@ -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