commit 94c56002452f98ebcda43c03500ca725c8654f34
parent f0ba067b81f768535de134518402d068d22863b3
Author: Luke Smith <luke@lukesmith.xyz>
Date: Fri, 26 Apr 2019 09:41:26 -0400
one mailsync at a time please
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/mailsync b/bin/mailsync
@@ -3,6 +3,7 @@
# Checks for internet connection and set notification script.
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