From 470b4aaf5577ec1afc03d11daeeed04256343721 Mon Sep 17 00:00:00 2001 From: Edwin Eefting Date: Thu, 9 Jul 2020 16:43:01 +0200 Subject: [PATCH] better sterr messages. fixes #47 --- bin/zfs-autobackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/zfs-autobackup b/bin/zfs-autobackup index 3167d6d..89fef5d 100755 --- a/bin/zfs-autobackup +++ b/bin/zfs-autobackup @@ -1720,7 +1720,7 @@ class ZfsAutobackup: source_dataset.sync_snapshots(target_dataset, show_progress=self.args.progress, features=common_features, filter_properties=filter_properties, set_properties=set_properties, ignore_recv_exit_code=self.args.ignore_transfer_errors, source_holds= not self.args.no_holds, rollback=self.args.rollback, raw=self.args.raw, other_snapshots=self.args.other_snapshots, no_send=self.args.no_send, destroy_incompatible=self.args.destroy_incompatible) except Exception as e: fail_count=fail_count+1 - self.error("DATASET FAILED: "+str(e)) + source_dataset.error("FAILED: "+str(e)) if self.args.debug: raise