Fixed Typo in arguments.

Removed errant A in zfs list command line arguments.
This commit is contained in:
croadfeldt 2020-01-18 01:52:12 -06:00 committed by GitHub
parent 29095052b0
commit bb30496d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1470,7 +1470,7 @@ sub getsnaps() {
$fsescaped = escapeshellparam($fsescaped); $fsescaped = escapeshellparam($fsescaped);
} }
my $getsnapcmd = "$rhost $mysudocmd $zfscmd get A-Hpd 1 -t snapshot guid,creation $fsescaped"; my $getsnapcmd = "$rhost $mysudocmd $zfscmd get -Hpd 1 -t snapshot guid,creation $fsescaped";
if ($debug) { if ($debug) {
$getsnapcmd = "$getsnapcmd |"; $getsnapcmd = "$getsnapcmd |";
print "DEBUG: getting list of snapshots on $fs using $getsnapcmd...\n"; print "DEBUG: getting list of snapshots on $fs using $getsnapcmd...\n";