diff options
Diffstat (limited to 'libbb/lineedit.c')
-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 34eb16e6b..06f708b62 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -840,7 +840,7 @@ static NOINLINE unsigned complete_cmd_dir_file(const char *command, int type) | |||
840 | pf_len = strlen(pfind); | 840 | pf_len = strlen(pfind); |
841 | 841 | ||
842 | #if ENABLE_FEATURE_SH_STANDALONE && NUM_APPLETS != 1 | 842 | #if ENABLE_FEATURE_SH_STANDALONE && NUM_APPLETS != 1 |
843 | if (type == FIND_EXE_ONLY && dirbuf == NULL) { | 843 | if (type == FIND_EXE_ONLY && !dirbuf) { |
844 | const char *p = applet_names; | 844 | const char *p = applet_names; |
845 | 845 | ||
846 | while (*p) { | 846 | while (*p) { |