commit 3fee819bfe39449687fa1ad038e9df914c7247da
parent 6aa28a56b1d9b027a48feb26dc4c45bc829e5d65
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sun, 24 Nov 2019 07:42:08 -0500
fix if STATUSBAR not set
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mailsync b/bin/mailsync
@@ -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
# Parallelize multiple accounts
for account in $accounts