gnu: dns: Fix configuration formating.

* gnu/services/dns.scm (format-string-list): Fix formating of lists with
only one symbol.
This commit is contained in:
Julien Lepiller 2019-04-26 18:36:44 +02:00
parent 273ba2552b
commit e379d1b5ef
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -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)