diff --git a/kshell/shell.cpp b/kshell/shell.cpp index a18a15f..c9c0d85 100644 --- a/kshell/shell.cpp +++ b/kshell/shell.cpp @@ -558,6 +558,7 @@ void KShellThread() std::string path = "/bin/"; + path += cmd_only; if (!fs->PathExists(path.c_str(), nullptr)) path = "/usr/bin/";