mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-13 22:47:12 +03:00
fix
This commit is contained in:
parent
64e53952fe
commit
7fb5a7db92
@ -1639,7 +1639,7 @@ class ZfsAutobackup:
|
||||
if args.resume:
|
||||
self.verbose("NOTE: The --resume option isn't needed anymore (its autodetected now)")
|
||||
|
||||
if args.target_path[0] == "/":
|
||||
if args.target_path!=None and args.target_path[0] == "/":
|
||||
self.log.error("Target should not start with a /")
|
||||
sys.exit(255)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user