nsd service: fix typo

Closes #20343.
This commit is contained in:
Gregor Kleen 2016-11-10 22:40:09 +01:00 committed by Christoph Hrdinka
parent bb2a67d226
commit 54199414e3

View File

@ -118,8 +118,8 @@ let
'';
yesOrNo = b: if b then "yes" else "no";
maybeString = prefix: x: if x == null then "" else ''${prefix} "${s}"'';
maybeToString = prefix: x: if x == null then "" else ''${prefix} ${toString s}'';
maybeString = prefix: x: if x == null then "" else ''${prefix} "${x}"'';
maybeToString = prefix: x: if x == null then "" else ''${prefix} ${toString x}'';
forEach = pre: l: concatMapStrings (x: pre + x + "\n") l;