]> jfr.im git - irc/ircd-hybrid/libopm.git/commitdiff
libopm doesn't ignore sigpipe for us, bopm does this but bopchecker.pl
authordgl <redacted>
Wed, 26 Nov 2003 21:26:29 +0000 (21:26 +0000)
committerdgl <redacted>
Wed, 26 Nov 2003 21:26:29 +0000 (21:26 +0000)
has never done it, haven't seen a problem before today though..

OPM/bopchecker.pl

index 65890cf3fc7ef8cbc0b1b734b1773002a0cc7823..5950984c3d829213496e178f3502101beb19b205 100644 (file)
@@ -28,6 +28,8 @@ use strict;
 use IO::Select;
 use OPM;
 
+$SIG{PIPE} = 'IGNORE';
+
 # Buffer of input from STDIN
 my $buffer;
 # Temp. storage of ports proxies are open on