Skip to content

Commit 61b316f

Browse files
committed
Support /etc/default/pdns-recursor
1 parent 28ba3fc commit 61b316f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdns/pdns-recursor.init.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pdns_server=$SBINARYPATH/pdns_recursor
1818

1919
[ -f "$pdns_server" ] || exit 0
2020

21-
. /etc/default/pdns-recursor
21+
[ -r /etc/default/pdns-recursor ] && . /etc/default/pdns-recursor
2222

2323
[ "$START" = "no" ] && exit 0
2424

0 commit comments

Comments
 (0)