TODO리스트는 늘어만 간다..

This commit is contained in:
2025-03-09 17:27:42 +09:00
parent 4435337f40
commit 4915a5c3b8
6 changed files with 10 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ namespace bumbleBee {
class VersionsCheckUtils {
public:
static bool isThereCMD(std::shared_ptr<dpp::cluster> cluster, std::string cmd) {
if (ConsoleUtils::safe_execute_command("which", {cmd}).size() == 0) {
if (ConsoleUtils::safe_execute_command("/usr/bin/which", {cmd}).size() == 0) {
cluster->log(dpp::ll_error, cmd + " is unavaliable. unresolable error please install " + cmd);
return false;
}