only list snapshots in $getsnapcmd
This commit is contained in:
parent
5fa92fa8cb
commit
e8906de2f0
2
syncoid
2
syncoid
|
@ -782,7 +782,7 @@ sub getsnaps() {
|
|||
|
||||
if ($rhost ne '') { $rhost = "$sshcmd $rhost"; }
|
||||
|
||||
my $getsnapcmd = "$rhost $mysudocmd $zfscmd get -Hpd 1 creation $fs |";
|
||||
my $getsnapcmd = "$rhost $mysudocmd $zfscmd get -Hpd 1 -t snapshot creation $fs |";
|
||||
if ($debug) { print "DEBUG: getting list of snapshots on $fs using $getsnapcmd...\n"; }
|
||||
open FH, $getsnapcmd;
|
||||
my @rawsnaps = <FH>;
|
||||
|
|
Loading…
Reference in New Issue