fix: set cleanup to global when no application is specified

This commit is contained in:
Jose Diaz-Gonzalez
2019-01-07 16:10:35 -05:00
parent 1a36c77c46
commit 9d45b0e2fb

View File

@@ -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"
}