mirror of https://github.com/jimsalterjrs/sanoid
Merge pull request #3 from 0xFate/patch-1
don't list snapshots outside of target dataset in source zpool - thank you 0xFate for the patch
This commit is contained in:
commit
8f7d0169a4
2
syncoid
2
syncoid
|
|
@ -547,7 +547,7 @@ sub getsnaps() {
|
|||
|
||||
if ($rhost ne '') { $rhost = "$sshcmd $rhost"; }
|
||||
|
||||
my $getsnapcmd = "$rhost $zfscmd get -Hp creation |";
|
||||
my $getsnapcmd = "$rhost $zfscmd get -Hpr creation $fs |";
|
||||
if ($debug) { print "DEBUG: getting list of snapshots on $fs...\n"; }
|
||||
open FH, $getsnapcmd;
|
||||
my @rawsnaps = <FH>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue