aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/dns.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 1613325645..3aa97680a9 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -533,10 +533,9 @@
#~(begin
(call-with-output-file #$output
(lambda (port)
- (if (knot-configuration-includes config)
- (for-each (lambda (inc)
- (format port "include: ~a\n" inc))
- (knot-configuration-includes config)))
+ (for-each (lambda (inc)
+ (format port "include: ~a\n" inc))
+ '#$(knot-configuration-includes config))
(format port "server:\n")
(format port " rundir: ~a\n" #$(knot-configuration-run-directory config))
(format port " user: knot\n")