mirror of
https://github.com/sheumann/hush.git
synced 2025-01-18 07:31:34 +00:00
libbb: filename completion should match dangling symlinks too
This commit is contained in:
parent
94e87bc83d
commit
39487e2d6a
@ -522,7 +522,7 @@ static void exe_n_cwd_tab_completion(char *command, int type)
|
|||||||
}
|
}
|
||||||
found = concat_path_file(paths[i], str_found);
|
found = concat_path_file(paths[i], str_found);
|
||||||
/* hmm, remover in progress? */
|
/* hmm, remover in progress? */
|
||||||
if (stat(found, &st) < 0)
|
if (lstat(found, &st) < 0)
|
||||||
goto cont;
|
goto cont;
|
||||||
/* find with dirs? */
|
/* find with dirs? */
|
||||||
if (paths[i] != dirbuf)
|
if (paths[i] != dirbuf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user