changed die to warn if syncoid fails to zfs destroy a sync snapshot - no good reason to stop a sync for that

This commit is contained in:
Jim Salter 2016-08-07 11:45:46 -04:00
parent e99306094b
commit adb14d2343
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}