mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-23 16:31:00 +00:00
Update start.py
This commit is contained in:
parent
5bcaf13a5c
commit
1804d7f452
2
start.py
2
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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user