From 225c9f99d16e8c178110a28856514ec4d4ddc832 Mon Sep 17 00:00:00 2001 From: Ifaz Kabir Date: Wed, 10 Dec 2025 21:10:32 -0500 Subject: [PATCH] Remove unused forcerecv variable --- syncoid | 6 ------ 1 file changed, 6 deletions(-) diff --git a/syncoid b/syncoid index 680afbe..b53e7d5 100755 --- a/syncoid +++ b/syncoid @@ -345,12 +345,6 @@ sub syncdataset { my $sourcefsescaped = escapeshellparam($sourcefs); my $targetfsescaped = escapeshellparam($targetfs); - # if no rollbacks are allowed, disable forced receive - my $forcedrecv = "-F"; - if (defined $args{'no-rollback'}) { - $forcedrecv = ""; - } - writelog('DEBUG', "syncing source $sourcefs to target $targetfs."); my ($sync, $error) = getzfsvalue($sourcehost,$sourcefs,$sourceisroot,'syncoid:sync');