mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-13 15:49:09 +08:00
Make sure we log dry mode
This commit is contained in:
parent
32dd551ff7
commit
0acab3bce8
1 changed files with 2 additions and 0 deletions
|
|
@ -525,6 +525,8 @@ class NPBackupRunner:
|
|||
}
|
||||
return js
|
||||
return False
|
||||
if self.dry_run:
|
||||
logger.warning("Running in dry mode. No modifications will be done")
|
||||
# pylint: disable=E1102 (not-callable)
|
||||
return fn(self, *args, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue