From 032b8acca073266453422cbd53e96dd0880338b2 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Mon, 21 Oct 2024 02:59:55 +0300 Subject: [PATCH] kshell: Fix search for binaries in /usr/bin/ --- kshell/shell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/kshell/shell.cpp b/kshell/shell.cpp index a18a15f6..c9c0d859 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/";