Fix typo in nixos/modules/tasks/filesystems/nfs.nix.

statd should be cfg.statd.
This commit is contained in:
Robbin C 2015-10-14 08:48:34 +08:00
parent c76da480b8
commit 528ebb4e5e

View File

@ -90,7 +90,7 @@ in
serviceConfig.Type = "forking"; serviceConfig.Type = "forking";
serviceConfig.ExecStart = '' serviceConfig.ExecStart = ''
@${pkgs.nfs-utils}/sbin/rpc.statd rpc.statd --no-notify \ @${pkgs.nfs-utils}/sbin/rpc.statd rpc.statd --no-notify \
${if cfg.statdPort != null then "-p ${toString statdPort}" else ""} ${if cfg.statdPort != null then "-p ${toString cfg.statdPort}" else ""}
''; '';
serviceConfig.Restart = "always"; serviceConfig.Restart = "always";
}; };