diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index c191b0572..18cf7cc99 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -522,7 +522,7 @@ static void exe_n_cwd_tab_completion(char *command, int type) | |||
522 | } | 522 | } |
523 | found = concat_path_file(paths[i], str_found); | 523 | found = concat_path_file(paths[i], str_found); |
524 | /* hmm, remover in progress? */ | 524 | /* hmm, remover in progress? */ |
525 | if (stat(found, &st) < 0) | 525 | if (lstat(found, &st) < 0) |
526 | goto cont; | 526 | goto cont; |
527 | /* find with dirs? */ | 527 | /* find with dirs? */ |
528 | if (paths[i] != dirbuf) | 528 | if (paths[i] != dirbuf) |