CLI: Fix group operation check

This commit is contained in:
deajan 2024-06-04 13:01:33 +02:00
parent dd69d7d8c2
commit 24e4276449

View file

@ -523,7 +523,7 @@ This is free software, and you are welcome to redistribute it under certain cond
cli_args["operation"] = "has_recent_snapshot"
# Group operation mode
if args.group_operation not in (
if args.group_operation and args.group_operation not in (
"backup",
"restore",
"snapshots",