Added a RW lock

This commit is contained in:
WolverinDEV 2020-03-03 20:57:35 +01:00
parent f48fa94b82
commit e47d38da79
2 changed files with 3 additions and 3 deletions

View File

@ -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<size_t>() : 0ULL; //TODO test it?
size_t file_index = 0;

2
shared

@ -1 +1 @@
Subproject commit 4b2925d87f63d9be440767c19fb2f7e747deb976
Subproject commit ece70e4df474a5e027e3c54e8a8e1be84a2a6a72