mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 13:05:12 +00:00
Shell: Correct suggestion of directories
This commit is contained in:
parent
c97ca2fecc
commit
0e5191de49
Notes:
sideshowbarker
2024-07-19 07:27:31 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/0e5191de492 Pull-request: https://github.com/SerenityOS/serenity/pull/1882 Issue: https://github.com/SerenityOS/serenity/issues/1876 Issue: https://github.com/SerenityOS/serenity/issues/1877
1 changed files with 1 additions and 1 deletions
|
@ -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 = "/";
|
||||
|
|
Loading…
Add table
Reference in a new issue