mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 15:29:18 +00:00
kshell: Fix search for binaries in /usr/bin/
This commit is contained in:
@ -558,6 +558,7 @@ void KShellThread()
|
||||
|
||||
std::string path = "/bin/";
|
||||
|
||||
path += cmd_only;
|
||||
if (!fs->PathExists(path.c_str(), nullptr))
|
||||
path = "/usr/bin/";
|
||||
|
||||
|
Reference in New Issue
Block a user