aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-26 15:50:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-26 15:50:44 +0200
commit0ceb23a6c85c1c77dfac5e8eac6bf66657d08d07 (patch)
treec884bdce076cad6bc8434c96848d439ff3bf6cfd /imapsync
parent81c6e4cd299d6f97f8d83dfd537df4d68e40771b (diff)
wibble
Diffstat (limited to 'imapsync')
-rwxr-xr-ximapsync8
1 files changed, 4 insertions, 4 deletions
diff --git a/imapsync b/imapsync
index 9a4e2e9..c0da7d6 100755
--- a/imapsync
+++ b/imapsync
@@ -98,8 +98,8 @@ sub cleanup() {
close $LOGGER_FD if defined $LOGGER_FD;
$DBH->disconnect() if defined $DBH;
}
-$SIG{$_} = sub { cleanup(); msg($!); exit 1; } foreach qw/INT TERM/;
-$SIG{$_} = sub { cleanup(); msg($!); exit 0; } foreach qw/HUP/;
+$SIG{$_} = sub { cleanup(); msg(undef, $!); exit 1; } foreach qw/INT TERM/;
+$SIG{$_} = sub { cleanup(); msg(undef, $!); exit 0; } foreach qw/HUP/;
#############################################################################
@@ -444,7 +444,7 @@ sub sync_tree($$%) {
}
}
-# Syncronize subscription list
+# Synchronize subscription list
my @SUBSCRIPTIONS;
{
my $sth_search = $DBH->prepare(q{SELECT idx,subscribed FROM mailboxes WHERE mailbox = ?});
@@ -1021,7 +1021,7 @@ my ($MAILBOX, $IDX);
$STH_LIST_INTERRUPTED->execute();
while (defined (my $row = $STH_LIST_INTERRUPTED->fetchrow_arrayref())) {
($IDX, $MAILBOX) = @$row;
- msg("Resuming interrupted sync for $MAILBOX");
+ msg(undef, "Resuming interrupted sync for $MAILBOX");
my %lUIDs;
$STH_GET_INTERRUPTED_BY_IDX->execute($IDX);