Make sure we log dry mode

This commit is contained in:
Orsiris de Jong 2024-05-18 16:14:19 +02:00
parent 32dd551ff7
commit 0acab3bce8

View file

@ -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)