This commit is contained in:
Edwin Eefting 2021-02-02 21:33:45 +01:00
parent b7ef6c9528
commit 64e53952fe

View File

@ -1639,6 +1639,10 @@ class ZfsAutobackup:
if args.resume:
self.verbose("NOTE: The --resume option isn't needed anymore (its autodetected now)")
if args.target_path[0] == "/":
self.log.error("Target should not start with a /")
sys.exit(255)
def verbose(self, txt):
self.log.verbose(txt)