STATUSBAR var now in subshell to prevent error
This commit is contained in:
parent
569bda9c5f
commit
b968bff93b
@ -48,7 +48,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo " 🔃" > /tmp/imapsyncicon_"$USER"
|
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
|
# Parallelize multiple accounts
|
||||||
for account in $accounts
|
for account in $accounts
|
||||||
@ -58,7 +58,7 @@ done
|
|||||||
|
|
||||||
wait
|
wait
|
||||||
rm -f /tmp/imapsyncicon_"$USER"
|
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
|
notmuch new 2>/dev/null
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user