浏览代码

remove `pidof -s` flag

Ref:

b9a95a055a (commitcomment-52203708)
tags/v3.3
Kr1ss 3 年前
父节点
当前提交
b0452a39d5
找不到此签名对应的密钥 GPG 密钥 ID: 23F078862ACFE50
共有 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
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


正在加载...
取消
保存