aboutsummaryrefslogtreecommitdiffstats
path: root/interimap
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-15 05:14:06 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-15 05:17:20 +0200
commit6011b94a5c6f0b787ce883b5646684828a54a994 (patch)
tree4bb250a1f5f232f5ce560f08d1fd0b7a98d13e50 /interimap
parent277dc0a7f946b90bfe04d6da225b4f53b443d1f6 (diff)
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.
Diffstat (limited to 'interimap')
-rwxr-xr-xinterimap1
1 files changed, 0 insertions, 1 deletions
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); };
#############################################################################