summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Smith <Luke Smith>2022-07-01 17:35:52 -0400
committerLuke Smith <Luke Smith>2022-07-01 17:35:52 -0400
commit30c1c0d2ae1ea4439986b1868557bbd2cc9e297a (patch)
tree3aadd3b544b24e500b4ca7de056327a8b5ef8fb9 /bin
parent47d4ec1825d3e24ae2cf682788e796e8674d0661 (diff)
fix #785 since cron now silent
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mailsync2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/mailsync b/bin/mailsync
index f100cd0..c924de5 100755
--- a/bin/mailsync
+++ b/bin/mailsync
@@ -11,8 +11,6 @@
# issues. It also should at least be compatible with Linux (and maybe BSD) with
# Xorg and MacOS as well.
-# Run only if user logged in (prevent cron errors)
-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 mbsync >/dev/null && { echo "mbsync is already running."; exit ;}