From adb14d23434512ff0c39c7cf8f84552a0368302a Mon Sep 17 00:00:00 2001 From: Jim Salter Date: Sun, 7 Aug 2016 11:45:46 -0400 Subject: [PATCH] changed die to warn if syncoid fails to zfs destroy a sync snapshot - no good reason to stop a sync for that --- syncoid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncoid b/syncoid index 5883123..c70862d 100755 --- a/syncoid +++ b/syncoid @@ -664,7 +664,7 @@ sub pruneoldsyncsnaps { if ($debug) { print "DEBUG: pruning up to $maxsnapspercmd obsolete sync snapshots...\n"; } if ($debug) { print "DEBUG: $rhost $prunecmd\n"; } system("$rhost $prunecmd") == 0 - or die "CRITICAL ERROR: $rhost $prunecmd failed: $?"; + or warn "WARNING: $rhost $prunecmd failed: $?"; } return; }