summaryrefslogtreecommitdiffstats
path: root/.local/bin/fetch_mail.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-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