From 0e5191de492a50eff7934f165ae36864678deafd Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Sun, 19 Apr 2020 22:01:58 +0430 Subject: [PATCH] Shell: Correct suggestion of directories --- Shell/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shell/main.cpp b/Shell/main.cpp index 0e70e5a14b..612a013a4a 100644 --- a/Shell/main.cpp +++ b/Shell/main.cpp @@ -1100,7 +1100,7 @@ int main(int argc, char** argv) if (!(program_status.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) continue; if (S_ISDIR(program_status.st_mode)) { - if (suggest_executables) + if (!suggest_executables) continue; else trivia = "/";