Address code review feedback: fix C/C++ typo, remove unused constant, add cleanup traps

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 15:06:43 +00:00
parent ae278dc384
commit 3f6ac65241
3 changed files with 32 additions and 8 deletions

View File

@@ -12,8 +12,6 @@
#include <errno.h>
#include <string.h>
#define INIT_PATH "/sbin/init"
static void signal_handler(int sig) {
if (sig == SIGCHLD) {
// Reap zombie processes