From 9752d179853e8d1600c3c67b3126ac37705333f8 Mon Sep 17 00:00:00 2001 From: Christoph Kuchenbuch Date: Fri, 2 Jun 2017 00:38:16 +0200 Subject: [PATCH] Fix bug in writing '/etc/default/opendkim'. --- install_opendkim.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_opendkim.sh b/install_opendkim.sh index 170d378..979f4a2 100755 --- a/install_opendkim.sh +++ b/install_opendkim.sh @@ -397,7 +397,7 @@ if grep -q -E "^\s*SOCKET" /etc/default/opendkim 2>/dev/null ; then fi else cat <>/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