aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 3bfff0084..2cc61db40 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -782,7 +782,7 @@ static NOINLINE unsigned complete_cmd_dir_file(const char *command, int type)
782 pf_len = strlen(pfind); 782 pf_len = strlen(pfind);
783 783
784#if ENABLE_FEATURE_SH_STANDALONE && NUM_APPLETS != 1 784#if ENABLE_FEATURE_SH_STANDALONE && NUM_APPLETS != 1
785 if (type == FIND_EXE_ONLY) { 785 if (type == FIND_EXE_ONLY && !dirbuf) {
786 const char *p = applet_names; 786 const char *p = applet_names;
787 787
788 while (*p) { 788 while (*p) {