[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: dns: Fix configuration formating.
From: |
guix-commits |
Subject: |
01/01: gnu: dns: Fix configuration formating. |
Date: |
Fri, 26 Apr 2019 12:38:15 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit e379d1b5efad293951fd35920bbf142376058696
Author: Julien Lepiller <address@hidden>
Date: Fri Apr 26 18:36:44 2019 +0200
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 445e035..1613325 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -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)