[check_samba_dc_sudo] Fix typo with GPO listing
This commit is contained in:
parent
91ee1f7648
commit
5ff7e2214c
|
@ -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…
Reference in New Issue
Block a user