[check_samba_dc_sudo] Fix typo with GPO listing

This commit is contained in:
Daniel Berteaud 2021-01-14 19:13:53 +01:00
parent 91ee1f7648
commit 5ff7e2214c
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ if (defined $ou){
}
# 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/);
$json->{gpo}++;
}