aboutsummaryrefslogtreecommitdiffstats
path: root/main/dovecot/dovecot.initd
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-22 18:37:29 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-22 18:29:42 +0200
commit768dfffe300f1f28244e1255d381a1d297c7235c (patch)
tree429fd28470a0c9489eff9df7b98105e57f667b67 /main/dovecot/dovecot.initd
parent9b54bde93d386a156cf75280351e768e998c3dbd (diff)
main/dovecot: fix init script to not print irrelevant error
doveconf: Error: t_readlink(/run/dovecot/dovecot.conf) failed: readlink() failed: No such file or directory
Diffstat (limited to 'main/dovecot/dovecot.initd')
-rw-r--r--main/dovecot/dovecot.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dovecot/dovecot.initd b/main/dovecot/dovecot.initd
index 088b98fecca..721f131ad01 100644
--- a/main/dovecot/dovecot.initd
+++ b/main/dovecot/dovecot.initd
@@ -22,7 +22,7 @@ depend() {
start_pre() {
ebegin
- doveconf -c $cfgfile -x >/dev/null && \
+ doveconf -c $cfgfile -x >/dev/null 2>&1 && \
checkpath --directory ${pidfile%/*}
eend $?
}