projects
/
cubemap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14aa32d
)
Ignore SIGPIPE, so we do not die when a client shuts down at the wrong time.
author
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 14 Apr 2013 18:54:25 +0000
(20:54 +0200)
committer
Steinar H. Gunderson
<sgunderson@bigfoot.com>
Sun, 14 Apr 2013 18:54:25 +0000
(20:54 +0200)
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index
64cab64
..
e8fa4e8
100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-214,6
+214,7
@@
bool dry_run_config(const std::string &argv0, const std::string &config_filename
int main(int argc, char **argv)
{
signal(SIGHUP, hup);
+ signal(SIGPIPE, SIG_IGN);
// Parse options.
int state_fd = -1;