Skip to content

Commit 05740f7

Browse files
committed
Fixed doveadm quota report handling
1 parent a07d9a0 commit 05740f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/lib/classes/cron.d/100-monitor_email_quota.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function onRunJob() {
8282
$dovecotQuotaUsage = array();
8383
if (isset($mail_config['pop3_imap_daemon']) && $mail_config ['pop3_imap_daemon'] = 'dovecot') {
8484
exec("doveadm quota get -A 2>&1", $res, $retval);
85-
if ($retval = 64) {
85+
if ($retval == 0) {
8686
foreach ($res as $v) {
8787
$s = preg_split('/\s+/', $v);
8888
if ($s[2] == 'STORAGE') {

0 commit comments

Comments
 (0)