Send an empty data array when Zimbra is not installed
This commit is contained in:
parent
d64a4954cd
commit
020e7a2818
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue