Skip to content

Commit

Permalink
ddclient: Don't include blank server= lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baughn authored and rycee committed Jan 16, 2017
1 parent 339313c commit fec95a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/services/networking/ddclient.nix
Expand Up @@ -132,7 +132,8 @@ in
login=${config.services.ddclient.username}
password=${config.services.ddclient.password}
protocol=${config.services.ddclient.protocol}
server=${config.services.ddclient.server}
${let server = config.services.ddclient.server; in
lib.optionalString (server != "") "server=${server}"}
ssl=${if config.services.ddclient.ssl then "yes" else "no"}
wildcard=YES
${config.services.ddclient.domain}
Expand Down

0 comments on commit fec95a4

Please sign in to comment.