mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
daemon: Fix inverted logic on cache dir check (#2388)
Signed-off-by: David Mulder <dmulder@samba.org>
This commit is contained in:
parent
fd71a748ca
commit
bb6709d88a
|
@ -696,7 +696,7 @@ async fn main() -> ExitCode {
|
||||||
);
|
);
|
||||||
return ExitCode::FAILURE
|
return ExitCode::FAILURE
|
||||||
}
|
}
|
||||||
if !kanidm_lib_file_permissions::readonly(&i_meta) {
|
if kanidm_lib_file_permissions::readonly(&i_meta) {
|
||||||
warn!("WARNING: DB folder permissions on {} indicate it may not be RW. This could cause the server start up to fail!", db_par_path_buf.to_str()
|
warn!("WARNING: DB folder permissions on {} indicate it may not be RW. This could cause the server start up to fail!", db_par_path_buf.to_str()
|
||||||
.unwrap_or("<db_par_path_buf invalid>")
|
.unwrap_or("<db_par_path_buf invalid>")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue