mirror of https://github.com/jimsalterjrs/sanoid
Merge pull request #1054 from ifazk/unused-forcerecv
Remove unused forcerecv variable
This commit is contained in:
commit
3d866c9473
6
syncoid
6
syncoid
|
|
@ -345,12 +345,6 @@ sub syncdataset {
|
||||||
my $sourcefsescaped = escapeshellparam($sourcefs);
|
my $sourcefsescaped = escapeshellparam($sourcefs);
|
||||||
my $targetfsescaped = escapeshellparam($targetfs);
|
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.");
|
writelog('DEBUG', "syncing source $sourcefs to target $targetfs.");
|
||||||
|
|
||||||
my ($sync, $error) = getzfsvalue($sourcehost,$sourcefs,$sourceisroot,'syncoid:sync');
|
my ($sync, $error) = getzfsvalue($sourcehost,$sourcefs,$sourceisroot,'syncoid:sync');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue