From b05e8f50ea26ba22e54bd6115723f0d166748de7 Mon Sep 17 00:00:00 2001 From: ma Date: Thu, 10 Oct 2024 11:08:58 +0200 Subject: [PATCH] fix log message --- qmpbackup | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qmpbackup b/qmpbackup index 5c8b4b1..8620de5 100755 --- a/qmpbackup +++ b/qmpbackup @@ -301,6 +301,7 @@ async def main(): log.info("New monthly directory will be created: %s", backupdir) new_monthly = True + log.info("Backup target directory: %s", backupdir) try: os.makedirs(backupdir, exist_ok=True) except OSError as errmsg: @@ -362,8 +363,6 @@ async def main(): ) sys.exit(1) - log.info("Backup target directory: %s", backupdir) - try: image.save_info(backupdir, blockdev) target_files = image.create(argv, backupdir, blockdev)