diff options
author | joe <rbo@gmx.us> | 2025-10-04 20:04:37 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-10-04 20:04:37 +0200 |
commit | 23e77ee08c7d75914630d1eaa208d65469469a10 (patch) | |
tree | a82f346033252d2f9795ed23fc1a4e025a4be818 /.local | |
parent | up (diff) | |
download | dotfiles-bsd-23e77ee08c7d75914630d1eaa208d65469469a10.tar.gz dotfiles-bsd-23e77ee08c7d75914630d1eaa208d65469469a10.tar.bz2 dotfiles-bsd-23e77ee08c7d75914630d1eaa208d65469469a10.tar.xz dotfiles-bsd-23e77ee08c7d75914630d1eaa208d65469469a10.tar.zst dotfiles-bsd-23e77ee08c7d75914630d1eaa208d65469469a10.zip |
up
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/fetch_mail | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |