fix broken Tunnel potentially causing SIGPIPE
we need to ignore the signal, so the regular error handling can kick in.
This commit is contained in:
parent
b9a4746b54
commit
b841374827
|
@ -541,6 +541,8 @@ main( int argc, char **argv )
|
|||
if (load_config( config ))
|
||||
return 1;
|
||||
|
||||
signal( SIGPIPE, SIG_IGN );
|
||||
|
||||
if (mvars->list_stores)
|
||||
list_stores( mvars, argv + oind );
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user