From e379d1b5efad293951fd35920bbf142376058696 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 26 Apr 2019 18:36:44 +0200 Subject: [PATCH] gnu: dns: Fix configuration formating. * gnu/services/dns.scm (format-string-list): Fix formating of lists with only one symbol. --- gnu/services/dns.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm index 445e03570a..1613325645 100644 --- a/gnu/services/dns.scm +++ b/gnu/services/dns.scm @@ -336,7 +336,7 @@ (define (format-string-list l) (fold (lambda (x1 x2) (string-append (if (symbol? x1) (symbol->string x1) x1) ", " (if (symbol? x2) (symbol->string x2) x2))) - (car l) (cdr l)) + (if (symbol? (car l)) (symbol->string (car l)) (car l)) (cdr l)) "]")))) (define (knot-acl-config acls)