From 23e77ee08c7d75914630d1eaa208d65469469a10 Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 4 Oct 2025 20:04:37 +0200 Subject: up --- .local/bin/fetch_mail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/fetch_mail') diff --git a/.local/bin/fetch_mail b/.local/bin/fetch_mail index 743d027..eaee5fb 100755 --- a/.local/bin/fetch_mail +++ b/.local/bin/fetch_mail @@ -35,7 +35,6 @@ sub get_new_mail my ($acc) = @_; my $ret; - system('killall mbsync >/dev/null 2>&1'); $ret = system('mbsync', $acc); if ($ret != 0) { notify(" $acc: failed to sync mails"); @@ -109,6 +108,7 @@ sub fetch_mail if ($ret != 0) { return; } + system('killall mbsync >/dev/null 2>&1'); my @accs = get_all_accounts(); for (@accs) { my $pid = fork(); -- cgit v1.2.3