summaryrefslogtreecommitdiff
path: root/bin/mailsync
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-06-01 22:46:26 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-06-01 22:46:26 -0400
commitf3a7f2b6fdcc4729c75db06d5abb7993fd24641d (patch)
tree019e925c09220b6b3621800791d6244345010dfe /bin/mailsync
parent7c1da4d16873b03890490e9fbef18d0f27e56c79 (diff)
check mbsync, not mailsync
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-xbin/mailsync2
1 files changed, 1 insertions, 1 deletions
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