From 1804d7f4524bf84351e878fbebeb5ff0fd564405 Mon Sep 17 00:00:00 2001 From: Domingo Dirutigliano Date: Mon, 24 Apr 2023 18:18:37 +0200 Subject: [PATCH] Update start.py --- start.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")