diff --git a/start.py b/start.py index 2000f5f..6c0881a 100644 --- a/start.py +++ b/start.py @@ -139,7 +139,7 @@ volumes: """) def main(): start_operation = not (args.stop or args.restart) - volume_exists = check_if_exists('docker volume ls --filter="name=^firegex_firegex_data$" --quiet') + volume_exists = check_if_exists('docker volume ls --filter="name=^firegex_firegex_data$" --quiet | grep firegex_firegex_data') if args.clear: dockercmd("volume rm firegex_firegex_data")