diff options
author | joe <rbo@gmx.us> | 2025-10-01 22:33:48 +0200 |
---|---|---|
committer | joe <rbo@gmx.us> | 2025-10-01 22:33:48 +0200 |
commit | 8854fa0f8a831264ed815b3615038dec89c6f632 (patch) | |
tree | cb0eda5ade37b16adb72ee084e20fe284b2c90a1 /.local/bin/fetch_mail | |
parent | up (diff) | |
download | dotfiles-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 '')
-rwxr-xr-x | .local/bin/fetch_mail.sh | 4 |
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 |