mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-13 03:47:56 +01:00
Fixed if statement in docker-cmd.sh for pdns-recursor (#16)
This commit is contained in:
parent
7362d8bc1f
commit
90b41b92d3
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export PDNS_local_port PDNS_local_address
|
|||
envtpl < /recursor.conf.tpl > /etc/pdns/recursor.conf
|
||||
|
||||
# fix config right
|
||||
if [ getent passwd | grep -c '^pdns-recursor:' ]; then
|
||||
if getent passwd | grep -q '^pdns-recursor:'; then
|
||||
# Fedora user
|
||||
chown pdns-recursor:pdns-recursor /etc/pdns/recursor.conf
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue