Browse Source

check mbsync, not mailsync

tags/v3.1
Luke Smith 5 years ago
parent
commit
f3a7f2b6fd
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync View File

@@ -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


Loading…
Cancel
Save