Fix bug in writing '/etc/default/opendkim'.

This commit is contained in:
Christoph 2017-06-02 00:38:16 +02:00
parent d20f401ebf
commit 9752d17985

View File

@ -397,7 +397,7 @@ if grep -q -E "^\s*SOCKET" /etc/default/opendkim 2>/dev/null ; then
fi
else
cat <<EOF >>/etc/default/opendkim 2> $log_file
SOCKET=.*$/SOCKET="local:$opendkim_socket_file"
SOCKET="local:$opendkim_socket_file"
EOF
opendkim_needs_restart=true
if [[ $? -eq 0 ]] ; then