diff options
author | Raghav Sood <r@raghavsood.com> | 2024-05-15 23:09:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 23:09:28 +0800 |
commit | ec2f5e1cb9f8ceda3529e03807eec41fbeabace3 (patch) | |
tree | 20a5317849035a0c8099539979609fc93d580dd2 /nixos | |
parent | a784860836f66a782bdd263d43b5b75241954e41 (diff) | |
parent | aa93972d0b595dff3b0bd66821e5c45c076a6eb4 (diff) |
Merge pull request #309615 from mkienitz/fix/vsftpd-assertion
Fix/vsftpd assertion
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/vsftpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix index 25f950600b91c..07b93e92a7509 100644 --- a/nixos/modules/services/networking/vsftpd.nix +++ b/nixos/modules/services/networking/vsftpd.nix @@ -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."; }]; |