commit 8e7750e0150e3975826c7922043193fdca882dd0 parent 8e50662d515b35a999bb0b2e877010b2c27aa3bd Author: Christoph Lohmann <20h@r-36.net> Date: Wed, 2 May 2012 20:08:38 +0200 Ignoring SIGPIPE. Diffstat:
rfkilld.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/rfkilld.c b/rfkilld.c @@ -133,6 +133,8 @@ initsignals(void) signal(SIGQUIT, sighandler); signal(SIGABRT, sighandler); signal(SIGTERM, sighandler); + + signal(SIGPIPE, SIG_IGN); } void