summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-24 07:42:08 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-11-24 07:42:08 -0500
commit3fee819bfe39449687fa1ad038e9df914c7247da (patch)
tree9df03045a851b53c4eb7d7a2e5f563ce8a572383 /bin
parent6aa28a56b1d9b027a48feb26dc4c45bc829e5d65 (diff)
fix if STATUSBAR not set
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync2
1 files changed, 1 insertions, 1 deletions
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