test could fail causing nonzero return value of whole post script

This commit is contained in:
Michal Hlavinka 2022-07-06 21:09:22 +02:00
parent 061b8c4d54
commit 3282577fa1

View File

@ -291,7 +291,7 @@ install -d -m 0755 -g dovecot -d /run/dovecot
install -d -m 0755 -d /run/dovecot/empty
install -d -m 0750 -g dovenull -d /run/dovecot/login
install -d -m 0750 -g dovenull -d /run/dovecot/token-login
[ -x /sbin/restorecon ] && /sbin/restorecon -R /run/dovecot
[ -x /sbin/restorecon ] && /sbin/restorecon -R /run/dovecot ||:
%preun
if [ $1 = 0 ]; then