From f3a7f2b6fdcc4729c75db06d5abb7993fd24641d Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 1 Jun 2019 22:46:26 -0400 Subject: [PATCH] check mbsync, not mailsync --- bin/mailsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mailsync b/bin/mailsync index b59c8e3..202d9be 100755 --- 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