Browse Source

STATUSBAR var now in subshell to prevent error

tags/v3.1
Luke Smith 5 years ago
parent
commit
b968bff93b
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      bin/mailsync

+ 2
- 2
bin/mailsync View File

@@ -48,7 +48,7 @@ else
fi

echo " 🔃" > /tmp/imapsyncicon_"$USER"
pkill -RTMIN+12 "${STATUSBAR:?}" >/dev/null 2>&1
( pkill -RTMIN+12 "${STATUSBAR:?}" >/dev/null 2>&1 ) 2>/dev/null

# Parallelize multiple accounts
for account in $accounts
@@ -58,7 +58,7 @@ done

wait
rm -f /tmp/imapsyncicon_"$USER"
pkill -RTMIN+12 "${STATUSBAR:?}" >/dev/null 2>&1
( pkill -RTMIN+12 "${STATUSBAR:?}" >/dev/null 2>&1 ) 2>/dev/null

notmuch new 2>/dev/null



Loading…
Cancel
Save