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:
Oswald Buddenhagen 2022-07-03 11:40:42 +02:00
parent b9a4746b54
commit b841374827

View File

@ -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