summaryrefslogtreecommitdiffstats
path: root/.local/bin/fetch_mail.sh
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-10-01 22:33:48 +0200
committerjoe <rbo@gmx.us>2025-10-01 22:33:48 +0200
commit8854fa0f8a831264ed815b3615038dec89c6f632 (patch)
treecb0eda5ade37b16adb72ee084e20fe284b2c90a1 /.local/bin/fetch_mail.sh
parentup (diff)
downloaddotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.gz
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.bz2
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.xz
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.tar.zst
dotfiles-bsd-8854fa0f8a831264ed815b3615038dec89c6f632.zip
up
Diffstat (limited to '.local/bin/fetch_mail.sh')
-rwxr-xr-x.local/bin/fetch_mail.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/fetch_mail.sh b/.local/bin/fetch_mail.sh
index 5f68acc..115be53 100755
--- a/.local/bin/fetch_mail.sh
+++ b/.local/bin/fetch_mail.sh
@@ -17,7 +17,7 @@ else
fi
if ! echo test | gpg2 --sign --batch --no-tty --pinentry-mode error -o /dev/null >/dev/null 2>&1; then
- herbe ' GPG locked'
+ herbe ' GPG locked' >/dev/null 2>&1 &
exit 1
fi
killall mbsync >/dev/null 2>&1
@@ -35,7 +35,7 @@ mb1="$(ls "${MAIL:-/var/mail/jozan}"/gmx_shop/INBOX/new | wc -l 2>/dev/null)"
# mb2="$(ls "${MAIL:-/var/mail/jozan}"/gmail_tos/INBOX/new | wc -l 2>/dev/null)"
post_count="$((post_count + mb1))"
if [ $post_count -gt $pre_count ]; then
- herbe ' '$post_count' new mail(s)' &
+ herbe ' '$post_count' new mail(s)' >/dev/null 2>&1 &
fi
echo $post_count >$mc_file
# sleep 1