]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiTag.pm
lei: fix IMAP auth failure handling
[public-inbox.git] / lib / PublicInbox / LeiTag.pm
index 56ac25fa690fd6f83edab51a43f0db748192015a..8b012b160eaf5778ffff42115b3e445ebeef60aa 100644 (file)
@@ -116,7 +116,7 @@ sub lei_tag { # the "lei tag" method
        my $ops = { '' => [ \&tag_done, $lei ] };
        $lei->{auth}->op_merge($ops, $self) if $lei->{auth};
        $self->{vmd_mod} = $vmd_mod;
-       my ($op_c, undef) = $lei->workers_start($self, 'lei_tag', 1, $ops);
+       (my $op_c, $ops) = $lei->workers_start($self, 'lei_tag', 1, $ops);
        $lei->{tag} = $self;
        net_merge_complete($self) unless $lei->{auth};
        $op_c->op_wait_event($ops);