mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-12 07:01:37 +08:00
CLI: Fix group operation check
This commit is contained in:
parent
dd69d7d8c2
commit
24e4276449
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ This is free software, and you are welcome to redistribute it under certain cond
|
||||||
cli_args["operation"] = "has_recent_snapshot"
|
cli_args["operation"] = "has_recent_snapshot"
|
||||||
|
|
||||||
# Group operation mode
|
# Group operation mode
|
||||||
if args.group_operation not in (
|
if args.group_operation and args.group_operation not in (
|
||||||
"backup",
|
"backup",
|
||||||
"restore",
|
"restore",
|
||||||
"snapshots",
|
"snapshots",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue