mirror of
https://github.com/aphrody-labs/mullvadvpn-app.git
synced 2026-10-13 22:10:39 +00:00
Fix regression to log collection not collection .log files
This commit is contained in:
1 parent
23a70b4d49
commit
2353a1fff3
1 file changed
+1
-1
@@ -264,7 +264,7 @@ fn list_logs(
|
||||
let logs = dir_entries.filter_map(move |dir_entry| match dir_entry {
|
||||
Ok(dir_entry) => {
|
||||
let path = dir_entry.path();
|
||||
(path.extension() == Some(OsStr::new(".log"))).then_some(Ok(path))
|
||||
(path.extension() == Some(OsStr::new("log"))).then_some(Ok(path))
|
||||
}
|
||||
Err(source) => Some(Err(LogError::ListLogDir {
|
||||
path: log_dir.as_ref().display().to_string(),
|
||||
|
||||
Reference in new issue
Block a user