forked from dsutanto/bytetrack-counter-cpp
Recompile
This commit is contained in:
1 parent
4ff0fdd0aa
commit
e67109ea88
2 files changed
+2
-2
No files matched your search
Binary file not shown.
+2
-2
@@ -144,7 +144,7 @@ int main(int argc, char* argv[]) {
|
||||
{
|
||||
std::string reset_file = g_config.shm_dir + "/.reset";
|
||||
if (std::filesystem::exists(reset_file)) {
|
||||
std::cout << "[RESET] .reset detected — clearing state" << std::endl;
|
||||
std::cout << "[RESET] [INFO] .reset detected — clearing state" << std::endl;
|
||||
std::error_code ec;
|
||||
std::filesystem::remove(g_config.state_file, ec);
|
||||
std::filesystem::remove(g_config.live_stream_frame_path, ec);
|
||||
@@ -254,7 +254,7 @@ int main(int argc, char* argv[]) {
|
||||
{
|
||||
std::string reset_file = g_config.shm_dir + "/.reset";
|
||||
if (std::filesystem::exists(reset_file)) {
|
||||
std::cout << "[" << now_str() << "] [RESET] .reset detected — clearing state" << std::endl;
|
||||
std::cout << "[" << now_str() << "] [INFO] [RESET] .reset detected — clearing state" << std::endl;
|
||||
std::error_code ec;
|
||||
std::filesystem::remove(g_config.state_file, ec);
|
||||
std::filesystem::remove(g_config.live_stream_frame_path, ec);
|
||||
|
||||
Reference in new issue
Block a user