From 6011b94a5c6f0b787ce883b5646684828a54a994 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 15 Sep 2015 05:14:06 +0200 Subject: Don't catch SIGHUP as it only work during IDLE. Sending any signal while some mails are being copied interrupts the syscall (eg, write) and attempting to resume crashes interimap. --- interimap | 1 - 1 file changed, 1 deletion(-) (limited to 'interimap') diff --git a/interimap b/interimap index e7cd6d5..b3a7342 100755 --- a/interimap +++ b/interimap @@ -120,7 +120,6 @@ sub cleanup() { } $SIG{INT} = sub { msg(undef, $!); cleanup(); exit 1; }; $SIG{TERM} = sub { cleanup(); exit 0; }; -$SIG{HUP} = sub { $_->stats() foreach grep defined, ($lIMAP, $rIMAP); }; ############################################################################# -- cgit v1.2.3