Преглед изворни кода

mailsync: fix early exit on graphical(-only) login

Resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/197.
tags/v3.1
Kr1ss пре 7 година
родитељ
комит
c56b139614
No known key found for this signature in database GPG Key ID: 23F078862ACFE50
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…
Откажи
Сачувај