fix #57
This commit is contained in:
@ -1639,6 +1639,10 @@ class ZfsAutobackup:
|
|||||||
if args.resume:
|
if args.resume:
|
||||||
self.verbose("NOTE: The --resume option isn't needed anymore (its autodetected now)")
|
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):
|
def verbose(self, txt):
|
||||||
self.log.verbose(txt)
|
self.log.verbose(txt)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user