mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2024-10-18 10:18:07 +02:00
Rspamd scripts: only correct permissions when directory exists (#3849)
This commit is contained in:
parent
2018be7fdc
commit
4162d608e4
@ -97,8 +97,10 @@ function _setup_apply_fixes_after_configuration() {
|
||||
|
||||
_rspamd_get_envs
|
||||
# /tmp/docker-mailserver/rspamd/dkim
|
||||
if [[ -d ${RSPAMD_DMS_DKIM_D} ]]; then
|
||||
_log 'debug' "Ensuring '${RSPAMD_DMS_DKIM_D}' is owned by '_rspamd:_rspamd'"
|
||||
chown -R _rspamd:_rspamd "${RSPAMD_DMS_DKIM_D}"
|
||||
fi
|
||||
}
|
||||
|
||||
function _run_user_patches() {
|
||||
|
Loading…
Reference in New Issue
Block a user