From 9d45b0e2fb7d9ed59863f9ffaccf594645a5a1b0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 7 Jan 2019 16:10:35 -0500 Subject: [PATCH] fix: set cleanup to global when no application is specified --- plugins/00_dokku-standard/subcommands/cleanup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/00_dokku-standard/subcommands/cleanup b/plugins/00_dokku-standard/subcommands/cleanup index 459bf3010..766089a44 100755 --- a/plugins/00_dokku-standard/subcommands/cleanup +++ b/plugins/00_dokku-standard/subcommands/cleanup @@ -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" }