Ignore the SIGPIPE
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 15 Sep 2016 13:29:44 +0000 (15:29 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 15 Sep 2016 13:29:44 +0000 (15:29 +0200)
commitb950a20afde7f8dff4b38db214120b3d1de2e10f
tree95108eff6372c8a3b1bece16e12b5d1e83a4e538
parenta6401ca78446610ffadb7b63c90937caa47d065a
Ignore the SIGPIPE

The default action is to stop the daemon.
This is not the intended behaviour because the
sriting errors are checked and EPIPE is treated.

Change-Id: I9132b683e443825e4c056301a89bfad752a99e0c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/main.c