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
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@
(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)