Skip to content

Commit

Permalink
squash. Fix agent reaping logic for ips cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Oct 13, 2024
1 parent 4649be1 commit 6227451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/main_server/src/agent_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1274,6 +1274,7 @@ namespace

std::memset(agent_pid_file_path, 0, sizeof(agent_pid_file_path));
std::strcpy(agent_pid_file_path, g_ips_data_directory);
std::strcat(agent_pid_file_path, "/");
std::strcat(agent_pid_file_path, agent_pid);

unlink(agent_pid_file_path);
Expand Down

0 comments on commit 6227451

Please sign in to comment.