nixos/vsftpd: fix invalid implication in assertions
This commit is contained in:
parent
3a32e80b39
commit
aa93972d0b
@ -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…
Reference in New Issue
Block a user