doveadm neglecting to exit in failure?

Felipe Gasper felipe at felipegasper.com
Tue Jan 15 23:57:40 EET 2019


-----
cpssltest at cpanelssltest.org [/usr/local/cpanel]# doveadm -v expunge -u cpssltest -- mailbox-guid b8a359119e771b58484a0000a841250d savedbefore 365days; echo $?
doveadm(cpssltest): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied
0
-----

^^ In the above, shouldn’t the “doveadm” command have exited nonzero to indicate a failure to connect?

Thanks!

-Felipe Gasper
Mississauga, Ontario


More information about the dovecot mailing list