From 24e42764498007e71bf5cd0141a02d48bb6a85c7 Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 4 Jun 2024 13:01:33 +0200 Subject: [PATCH] CLI: Fix group operation check --- npbackup/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npbackup/__main__.py b/npbackup/__main__.py index c5b94f5..a003e03 100644 --- a/npbackup/__main__.py +++ b/npbackup/__main__.py @@ -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",