From 7fb5a7db92e0fd2afcf1846ac2366bf0f2030472 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Tue, 2 Feb 2021 22:00:30 +0100 Subject: [PATCH] fix --- bin/zfs-autobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/zfs-autobackup b/bin/zfs-autobackup index 4b13721..daa77c8 100755 --- a/bin/zfs-autobackup +++ b/bin/zfs-autobackup @@ -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)