瀏覽代碼

Merge pull request #200 from Kr1ss-XD/master

mailsync: fix early exit on graphical(-only) login
tags/v3.1
Luke Smith 5 年之前
committed by GitHub
父節點
當前提交
71703f8f55
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync 查看文件

@@ -2,7 +2,7 @@
# Sync mail and give notification if there is new mail.

# Run only if user logged in (prevent cron errors)
w | grep "^$USER\W" >/dev/null || exit
pgrep -cu "$USER" >/dev/null || exit

# Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || exit


Loading…
取消
儲存