Pārlūkot izejas kodu

Merge pull request #200 from Kr1ss-XD/master

mailsync: fix early exit on graphical(-only) login
tags/v3.1
Luke Smith pirms 5 gadiem
committed by GitHub
vecāks
revīzija
71703f8f55
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      bin/mailsync

+ 1
- 1
bin/mailsync Parādīt failu

@@ -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


Notiek ielāde…
Atcelt
Saglabāt