Streamline 'printf' usage and consequently use a format string (#2564)

This commit is contained in:
Casper 2022-05-05 17:48:21 +02:00 committed by GitHub
parent 18acd7860b
commit 2977cb6962
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -155,7 +155,7 @@ function _setup_dovecot
if ! grep -q -E '^stats_writer_socket_path=' /etc/dovecot/dovecot.conf
then
printf '\nstats_writer_socket_path=\n' >>/etc/dovecot/dovecot.conf
printf '\n%s\n' 'stats_writer_socket_path=' >>/etc/dovecot/dovecot.conf
fi
# set mail_location according to mailbox format