Merge pull request #3382 from dokku/fix-global-cleanup

Set cleanup to global when no application is specified
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-01-07 16:11:02 -05:00
commit 74e1cbd27d
1 file changed
+4
@@ -9,6 +9,10 @@ dokku_cleanup_cmd() {
[[ "$1" == "$cmd" ]] && shift 1 [[ "$1" == "$cmd" ]] && shift 1
declare APP="$1" declare APP="$1"
if [[ -z "$APP" ]]; then
APP="--global"
fi
docker_cleanup "$APP" "true" docker_cleanup "$APP" "true"
} }