mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 18:08:28 -07:00
ignore SIGPIPE
This commit is contained in:
parent
b06199b542
commit
4980495008
@ -1508,6 +1508,7 @@ int main(int argc, char **argv)
|
||||
|
||||
signal(SIGINT, catcher);
|
||||
signal(SIGTERM, catcher);
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
mosq = mosquitto_new(UB(clientid), CLEAN_SESSION, (void *)&udata);
|
||||
if (!mosq) {
|
||||
|
Loading…
Reference in New Issue
Block a user