mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/vsftpd: fix invalid implication in assertions
This commit is contained in:
parent
3a32e80b39
commit
aa93972d0b
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ in
|
|||
}
|
||||
{
|
||||
assertion = (cfg.enableVirtualUsers -> cfg.userDbPath != null)
|
||||
&& (cfg.enableVirtualUsers -> cfg.localUsers != null);
|
||||
&& (cfg.enableVirtualUsers -> cfg.localUsers);
|
||||
message = "vsftpd: If enableVirtualUsers is true, you need to setup both the userDbPath and localUsers options.";
|
||||
}];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue