commit f3a7f2b6fdcc4729c75db06d5abb7993fd24641d
parent 7c1da4d16873b03890490e9fbef18d0f27e56c79
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 1 Jun 2019 22:46:26 -0400
check mbsync, not mailsync
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/mailsync b/bin/mailsync
@@ -4,7 +4,7 @@
# Run only if user logged in (prevent cron errors)
pgrep -u "$USER" >/dev/null || exit
# Run only if not already running in other instance
-pgrep -x mailsync >/dev/null && exit
+pgrep -x mbsync >/dev/null && exit
# Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || exit