Commit c6687ab5 authored by masayuki.harada's avatar masayuki.harada

Add signal handler of SIGPIPE.

parent 83c6acea
...@@ -573,6 +573,7 @@ int main( int argc, char **argv ) { ...@@ -573,6 +573,7 @@ int main( int argc, char **argv ) {
signal(SIGINT, signal_handler); signal(SIGINT, signal_handler);
signal(SIGTERM, signal_handler); signal(SIGTERM, signal_handler);
signal(SIGABRT, signal_handler); signal(SIGABRT, signal_handler);
signal(SIGPIPE, signal_handler);
check_clock(); check_clock();
#ifndef PACKAGE_VERSION #ifndef PACKAGE_VERSION
# define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL" # define PACKAGE_VERSION "UNKNOWN-EXPERIMENTAL"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment