one mailsync at a time please

This commit is contained in:
Luke Smith 2019-04-26 09:41:26 -04:00
parent f0ba067b81
commit 94c5600245
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -3,6 +3,7 @@
# Checks for internet connection and set notification script. # Checks for internet connection and set notification script.
ping -q -c 1 1.1.1.1 > /dev/null || exit ping -q -c 1 1.1.1.1 > /dev/null || exit
pgrep -x mbsync >/dev/null && echo "mbsync already running." && exit
export DISPLAY=:0.0 export DISPLAY=:0.0