verify-data-dir: change level for untracked files
Untracked files are not necessarily an error so log at warning level instead.
This commit is contained in:
parent
70e240e7b0
commit
4a42cffc6c
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ let verify_data_dir () datadir =
|
||||||
in
|
in
|
||||||
let files_untracked = FpathSet.diff files_in_filesystem !files_tracked in
|
let files_untracked = FpathSet.diff files_in_filesystem !files_tracked in
|
||||||
FpathSet.iter (fun f ->
|
FpathSet.iter (fun f ->
|
||||||
Logs.err (fun m -> m "untracked file in filesystem: %a" Fpath.pp f))
|
Logs.warn (fun m -> m "untracked file in filesystem: %a" Fpath.pp f))
|
||||||
files_untracked;
|
files_untracked;
|
||||||
or_die 1 r
|
or_die 1 r
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue