Send an empty data array when Zimbra is not installed

This commit is contained in:
Daniel Berteaud 2019-10-08 11:14:44 +02:00
parent d64a4954cd
commit 020e7a2818
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}