Remove unused forcerecv variable

This commit is contained in:
Ifaz Kabir 2025-12-10 21:10:32 -05:00
parent dbcaeef1ac
commit 225c9f99d1
1 changed files with 0 additions and 6 deletions

View File

@ -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');