[remote] do not automatically descend into sub directories on the remote

This commit is contained in:
Timothy Stack 2021-05-04 15:57:24 -07:00
parent 6ff3badc62
commit 0a0e355696
1 changed files with 3 additions and 0 deletions

View File

@ -494,6 +494,9 @@ int poll_paths(struct list *path_list)
strcmp(entry->d_name, "..") == 0) {
continue;
}
if (entry->d_type != DT_REG) {
continue;
}
char full_path[PATH_MAX];