Kr1ss 3 anni fa
parent
commit
b0452a39d5
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 23F078862ACFE50
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Vedi File

@@ -14,7 +14,7 @@
# Run only if user logged in (prevent cron errors)
pgrep -u "${USER:=$LOGNAME}" >/dev/null || { echo "$USER not logged in; sync will not run."; exit ;}
# Run only if not already running in other instance
pidof $([ $(uname) != Darwin ] && echo '-s') mbsync >/dev/null && { echo "mbsync is already running."; exit ;}
pidof mbsync >/dev/null && { echo "mbsync is already running."; exit ;}

# First, we have to get the right variables for the mbsync file, the pass
# archive, notmuch and the GPG home. This is done by searching common profile


Caricamento…
Annulla
Salva