diff --git a/syncoid b/syncoid index c013745..1e7fc4c 100755 --- a/syncoid +++ b/syncoid @@ -1527,6 +1527,7 @@ sub getsnapsfallback() { } my $getsnapcmd = "$rhost $mysudocmd $zfscmd get -Hpd 1 type,guid,creation $fsescaped |"; + warn "snapshot listing failed, trying fallback command" if ($debug) { print "DEBUG: FALLBACK, getting list of snapshots on $fs using $getsnapcmd...\n"; } open FH, $getsnapcmd; my @rawsnaps = ; @@ -1586,6 +1587,7 @@ sub getsnapsfallback() { } $snaps{$type}{$snap}{'creation'}=$creationsuffix; + $state = -1; } $state++;