Skip to content

Commit 9a1b095

Browse files
committed
ignore sigpipe
1 parent bc621c5 commit 9a1b095

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mainReadout.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ int Readout::_init(int argc, char* argv[])
573573
sigaction(SIGTERM, &signalSettings, NULL);
574574
sigaction(SIGQUIT, &signalSettings, NULL);
575575
sigaction(SIGINT, &signalSettings, NULL);
576+
signal(SIGPIPE, SIG_IGN);
576577

577578
// log startup and options
578579
theLog.log(LogInfoSupport_(3001), "Readout " READOUT_VERSION " - process starting, pid %d for role %s", getpid(), occRole.c_str());

0 commit comments

Comments
 (0)