Parcourir la source

check mbsync, not mailsync

tags/v3.1
Luke Smith il y a 5 ans
Parent
révision
f3a7f2b6fd
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4C50B54A911F6252
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Voir le fichier

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


Chargement…
Annuler
Enregistrer