mirror of https://github.com/jimsalterjrs/sanoid
Merge branch 'master' into improve-output
This commit is contained in:
commit
b4c8e4b499
6
syncoid
6
syncoid
|
|
@ -1012,7 +1012,11 @@ sub syncincremental {
|
|||
foreach my $i (0..(scalar(@intsnaps) - 2)) {
|
||||
my $snapa = $intsnaps[$i];
|
||||
my $snapb = $intsnaps[$i + 1];
|
||||
syncincremental($sourcehost, $sourcefs, $targethost, $targetfs, $snapa, $snapb, 1) == 0 or return $?;
|
||||
(my $ret, my $stdout) = syncincremental($sourcehost, $sourcefs, $targethost, $targetfs, $snapa, $snapb, 1);
|
||||
|
||||
if ($ret != 0) {
|
||||
return ($ret, $stdout);
|
||||
}
|
||||
}
|
||||
|
||||
# Return after finishing the -i syncs so that we don't try to do another -I
|
||||
|
|
|
|||
Loading…
Reference in New Issue