mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-27 15:04:33 +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/";
|
std::string path = "/bin/";
|
||||||
|
|
||||||
|
path += cmd_only;
|
||||||
if (!fs->PathExists(path.c_str(), nullptr))
|
if (!fs->PathExists(path.c_str(), nullptr))
|
||||||
path = "/usr/bin/";
|
path = "/usr/bin/";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user