|
|
@@ -457,8 +457,10 @@ int main(int argc, char *argv[]) |
|
|
|
signal(SIGINT, handle_sig); |
|
|
|
signal(SIGTERM, handle_sig); |
|
|
|
|
|
|
|
#ifdef SIGPIPE /* not on Windows */ |
|
|
|
/* Ignore SIGPIPE so I/O errors to the network device won't kill the process */ |
|
|
|
signal(SIGPIPE, SIG_IGN); |
|
|
|
#endif |
|
|
|
|
|
|
|
if (detect) { |
|
|
|
info("Autodetecting NerdJack address\n"); |
|
|
|