浏览代码

prevent gpg-pinentry

pull/403/head
luukvbaal 4 年前
committed by GitHub
父节点
当前提交
67cec6fae3
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      bin/mailsync

+ 1
- 0
bin/mailsync 查看文件

@@ -6,6 +6,7 @@
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 ;}
while pgrep -x ${LOCK:-slock} >/dev/null; do sleep 10; done

# Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || { echo "No internet connection detected."; exit ;}


正在加载...
取消
保存