gnu: services: Fix openvpn boolean fields.

* gnu/services/vpn.scm (serialize-boolean): Do not print #t to the file.
This commit is contained in:
Julien Lepiller 2020-02-19 03:35:05 +01:00
parent 97c6670ef7
commit 0372dd1a1e
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -61,7 +61,7 @@ (define (serialize-field field-name val)
(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)