commit b84137482765c90ce0578b56e9fe322474bf4771
Author: Oswald Buddenhagen <[email protected]>
Date: Sun Jul 3 11:40:42 2022 +0200
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
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel