aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-02-19 03:35:05 +0100
committerJulien Lepiller <julien@lepiller.eu>2020-02-19 04:08:40 +0100
commit0372dd1a1e51e39382ee5d1aa968589b40506b8f (patch)
tree2b3c43cf2e9b0fffec7855b94dfc48c18477538b /gnu/services
parent97c6670ef79bbf5e82dece2e837ed73b6462da01 (diff)
downloadpatches-0372dd1a1e51e39382ee5d1aa968589b40506b8f.tar
patches-0372dd1a1e51e39382ee5d1aa968589b40506b8f.tar.gz
gnu: services: Fix openvpn boolean fields.
* gnu/services/vpn.scm (serialize-boolean): Do not print #t to the file.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/vpn.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/vpn.scm b/gnu/services/vpn.scm
index cbb4a79a7b..4602b3f3db 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)