[check_samba_dc_sudo] Fix typo with GPO listing

tags/zabbix-agent-addons-0.2.147-1
Daniel Berteaud 4 years ago
parent 91ee1f7648
commit 5ff7e2214c
  1. 2
      zabbix_scripts/check_samba_dc_sudo

@ -134,7 +134,7 @@ if (defined $ou){
} }
# Get the number of GPO # Get the number of GPO
foreach (qx($samba_tool gpo listall 2/dev/null)){ foreach (qx($samba_tool gpo listall 2>/dev/null)){
next unless (/^GPO/); next unless (/^GPO/);
$json->{gpo}++; $json->{gpo}++;
} }

Loading…
Cancel
Save