Skip to content

Commit

Permalink
Ignore SIGPIPE
Browse files Browse the repository at this point in the history
  • Loading branch information
GIC-de committed Sep 20, 2023
1 parent f22f281 commit a3390e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/bngblaster/src/bbl_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,9 @@ bbl_ctrl_socket_init()
timer_add_periodic(&g_ctx->timer_root, &ctrl->main.timer, "CTRL Socket Main Timer", 0, 1000 * MSEC, ctrl, &bbl_ctrl_socket_main_job);

LOG(INFO, "Opened control socket %s\n", g_ctx->ctrl_socket_path);

/* Ignore SIGPIPE */
signal(SIGPIPE, SIG_IGN);
return true;
}

Expand Down

0 comments on commit a3390e5

Please sign in to comment.