mirror of
https://git.wownero.com/wownero/wownero-puddle.git
synced 2024-08-15 01:03:20 +00:00
ignore SIGPIPE so error propagates
This commit is contained in:
parent
0846228da6
commit
834bef7008
1 changed files with 1 additions and 0 deletions
|
@ -3179,6 +3179,7 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
signal(SIGINT, sigint_handler);
|
signal(SIGINT, sigint_handler);
|
||||||
|
signal(SIGPIPE, SIG_IGN);
|
||||||
atexit(cleanup);
|
atexit(cleanup);
|
||||||
|
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
Loading…
Reference in a new issue