mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
kshell: Fix search for binaries in /usr/bin/
This commit is contained in:
parent
8b442d14e3
commit
032b8acca0
@ -558,6 +558,7 @@ void KShellThread()
|
||||
|
||||
std::string path = "/bin/";
|
||||
|
||||
path += cmd_only;
|
||||
if (!fs->PathExists(path.c_str(), nullptr))
|
||||
path = "/usr/bin/";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user