commit:     231001d252cd81974b8745d07a4440d4f59bced7
Author:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 12:14:25 2015 +0000
Commit:     Julian Ospald <hasufell <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 12:45:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231001d2

net-dns/dnscrypt-proxy: add missing quotes to dnscrypt-proxy.initd

 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
index 3ef60f9..8e231e4 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
@@ -21,8 +21,8 @@ start() {
        if [ ! -d "${rundir}" ]; then
                mkdir "${rundir}"
                if [ -n "${runas_user}" ]; then
-                       touch  ${DNSCRYPT_LOGFILE}
-                       chown ${runas_user}:${runas_group} ${DNSCRYPT_LOGFILE}
+                       touch "${DNSCRYPT_LOGFILE}"
+                       chown ${runas_user}:${runas_group} "${DNSCRYPT_LOGFILE}"
                        chown -R ${runas_user}:${runas_group} "${rundir}"
                fi
        fi
@@ -31,8 +31,8 @@ start() {
        start-stop-daemon --start --quiet \
                --exec /usr/sbin/dnscrypt-proxy \
                -- \
-               --pidfile=${pidfile} \
-               --logfile=${DNSCRYPT_LOGFILE} \
+               --pidfile="${pidfile}" \
+               --logfile="${DNSCRYPT_LOGFILE}" \
                --daemonize --user=${runas_user} \
                --local-address=${DNSCRYPT_LOCALIP}:${DNSCRYPT_LOCALPORT} \
                
--resolver-address=${DNSCRYPT_RESOLVERIP}:${DNSCRYPT_RESOLVERPORT} \

Reply via email to