diff --git a/server/src/client/command_handler/misc.cpp b/server/src/client/command_handler/misc.cpp index 0293468..ecca6e2 100644 --- a/server/src/client/command_handler/misc.cpp +++ b/server/src/client/command_handler/misc.cpp @@ -1904,9 +1904,9 @@ command_result ConnectedClient::handleCommandLogView(ts::Command& cmd) { index += 2; } } - string command = "bash -c 'cat \"" + log_path + "\""; + string command = "cat \"" + log_path + "\""; command += " | grep -E "; - command += R"("\] \[.*\]( ){0,6}?)" + server_identifier + " \\|\"'"; + command += R"("\] \[.*\]( ){0,6}?)" + server_identifier + " \\|\""; size_t beginpos = cmd[0].has("begin_pos") ? cmd["begin_pos"].as() : 0ULL; //TODO test it? size_t file_index = 0; diff --git a/shared b/shared index 4b2925d..ece70e4 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit 4b2925d87f63d9be440767c19fb2f7e747deb976 +Subproject commit ece70e4df474a5e027e3c54e8a8e1be84a2a6a72