[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: services: Fix openvpn boolean fields.
From: |
guix-commits |
Subject: |
01/02: gnu: services: Fix openvpn boolean fields. |
Date: |
Tue, 18 Feb 2020 22:10:02 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 0372dd1a1e51e39382ee5d1aa968589b40506b8f
Author: Julien Lepiller <address@hidden>
AuthorDate: Wed Feb 19 03:35:05 2020 +0100
gnu: services: Fix openvpn boolean fields.
* gnu/services/vpn.scm (serialize-boolean): Do not print #t to the file.
---
gnu/services/vpn.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index cbb4a79..4602b3f 100644
--- a/gnu/services/vpn.scm
+++ b/gnu/services/vpn.scm
@@ -61,7 +61,7 @@
(define serialize-string serialize-field)
(define (serialize-boolean field-name val)
(if val
- (serialize-field field-name val)
+ (serialize-field field-name "")
(format #t "")))
(define (ip-mask? val)