aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync
diff options
context:
space:
mode:
Diffstat (limited to 'imapsync')
-rwxr-xr-ximapsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/imapsync b/imapsync
index cc34287..ae05163 100755
--- a/imapsync
+++ b/imapsync
@@ -987,8 +987,8 @@ sub wait_notifications(;$) {
my ($MAILBOX, $IDX);
$STH_LIST_INTERRUPTED->execute();
while (defined (my $row = $STH_LIST_INTERRUPTED->fetchrow_arrayref())) {
+ next unless grep { $_ eq $row->[1] } @MAILBOXES; # skip ignored mailbox
($IDX, $MAILBOX) = @$row;
- next unless grep { $_ eq $MAILBOX } @MAILBOXES;
msg(undef, "Resuming interrupted sync for $MAILBOX");
my %lUIDs;