Fix bug in writing '/etc/default/opendkim'.
This commit is contained in:
parent
d20f401ebf
commit
9752d17985
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user