From 3fee819bfe39449687fa1ad038e9df914c7247da Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 24 Nov 2019 07:42:08 -0500 Subject: [PATCH] fix if STATUSBAR not set --- bin/mailsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mailsync b/bin/mailsync index 212a97c..f0b62ea 100755 --- 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