services: ddclient: Fix unrecognized keywords.

This patch fixes warnings about unrecognized keywords in logs.

* gnu/services/dns.scm (serialize-field): Skip some field names.
This commit is contained in:
Oleg Pykhalov 2018-12-04 07:08:47 +03:00
parent 191c439e79
commit 9325533bd0
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 2 additions and 1 deletions

View File

@ -684,7 +684,8 @@
(string-delete #\? (symbol->string field-name)))
(define (serialize-field field-name val)
(format #t "~a=~a\n" (uglify-field-name field-name) val))
(when (not (member field-name '(group secret-file user)))
(format #t "~a=~a\n" (uglify-field-name field-name) val)))
(define (serialize-boolean field-name val)
(serialize-field field-name (if val "yes" "no")))