mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
don't update permissions on non-existent file (#956)
This commit is contained in:
parent
ea848eb86f
commit
283ac70bb9
|
@ -1073,8 +1073,10 @@ function _setup_postfix_relay_hosts() {
|
|||
fi
|
||||
fi
|
||||
|
||||
chown root:root /etc/postfix/sasl_passwd
|
||||
chmod 0600 /etc/postfix/sasl_passwd
|
||||
if [ -f /etc/postfix/sasl_passwd ]; then
|
||||
chown root:root /etc/postfix/sasl_passwd
|
||||
chmod 0600 /etc/postfix/sasl_passwd
|
||||
fi
|
||||
# end /etc/postfix/sasl_passwd
|
||||
|
||||
# setup /etc/postfix/relayhost_map
|
||||
|
|
Loading…
Reference in a new issue