diff --git a/zabbix_scripts/disco_zimbra_sudo b/zabbix_scripts/disco_zimbra_sudo index f6b6167..8ed7e07 100644 --- a/zabbix_scripts/disco_zimbra_sudo +++ b/zabbix_scripts/disco_zimbra_sudo @@ -32,7 +32,7 @@ my $hostname = hostfqdn(); # If there's no zimbra user or no zmcontrol, just return an empty list if (not defined $zimuid or not defined $zimgid or not -e $zmprov){ - print to_json({}); + print to_json($json); exit; }