Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 21, 2024
1 parent e28f0c8 commit 3b5b587
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions qmprestore
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ log = lib.setup_log(False)

log.info("Version: %s Arguments: %s", version.VERSION, " ".join(sys.argv))

if action in ("rebase", "merge", "snapshotrebase"):
if not os.path.exists(argv.dir):
log.error("Specified target folder does not exist: [%s]", argv.dir)
sys.exit(1)
if not os.path.exists(argv.dir):
log.error("Specified target folder does not exist: [%s]", argv.dir)
sys.exit(1)

if action in ("rebase", "snapshotrebase"):
if argv.dry_run:
log.info("Dry run activated, not applying any changes")

Expand Down

0 comments on commit 3b5b587

Please sign in to comment.