mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[remote] do not automatically descend into sub directories on the remote
This commit is contained in:
parent
6ff3badc62
commit
0a0e355696
@ -494,6 +494,9 @@ int poll_paths(struct list *path_list)
|
|||||||
strcmp(entry->d_name, "..") == 0) {
|
strcmp(entry->d_name, "..") == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (entry->d_type != DT_REG) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
char full_path[PATH_MAX];
|
char full_path[PATH_MAX];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user