Fix var name in disco_zfs

tags/zabbix-agent-addons-0.2.84-1
Daniel Berteaud 5 years ago
parent 2971c73063
commit c7a2c5d8ce
  1. 2
      zabbix_scripts/disco_zfs

@ -33,7 +33,7 @@ GetOptions(
"pretty" => \$pretty "pretty" => \$pretty
); );
if ($fs or $zvol or $snap or $sanoidsnap){ if ($fs or $zvol or $snap or $sanoidmon){
$pools = 0; $pools = 0;
} }
if ($pools + $fs + $zvol + $snap + $sanoidmon != 1){ if ($pools + $fs + $zvol + $snap + $sanoidmon != 1){

Loading…
Cancel
Save