소스 검색

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
No known key found for this signature in database 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


불러오는 중...
취소
저장