From b84137482765c90ce0578b56e9fe322474bf4771 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sun, 3 Jul 2022 11:40:42 +0200 Subject: [PATCH] fix broken Tunnel potentially causing SIGPIPE we need to ignore the signal, so the regular error handling can kick in. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 82da1ea..993a176 100644 --- a/src/main.c +++ b/src/main.c @@ -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