Luke Smith преди 3 години
родител
ревизия
de58c98693
No known key found for this signature in database GPG ключ ID: 4C50B54A911F6252
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Целия файл

@@ -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
pgrep -x mbsync >/dev/null && { echo "mbsync is already running." ; exit ;}
pidof -s 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


Зареждане…
Отказ
Запис