Skip to content

Commit

Permalink
fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 10, 2024
1 parent 0a63fca commit b05e8f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qmpbackup
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b05e8f5

Please sign in to comment.