diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-04-19 22:01:58 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-19 19:39:50 +0200 |
commit | 0e5191de492a50eff7934f165ae36864678deafd (patch) | |
tree | 3e4b739774098960a40c7bb72b98944a590d015e | |
parent | c97ca2fecc5cef9096abf392c97bb9ec07014771 (diff) | |
download | serenity-0e5191de492a50eff7934f165ae36864678deafd.zip |
Shell: Correct suggestion of directories
-rw-r--r-- | Shell/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "/"; |