diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-26 09:41:26 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-26 09:41:26 -0400 |
commit | 94c56002452f98ebcda43c03500ca725c8654f34 (patch) | |
tree | a0b241b20aae95ce49d07985f3a7ae5e8331d53e /bin/mailsync | |
parent | f0ba067b81f768535de134518402d068d22863b3 (diff) |
one mailsync at a time please
Diffstat (limited to 'bin/mailsync')
-rwxr-xr-x | bin/mailsync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mailsync b/bin/mailsync index 9750ca3..ea645c3 100755 --- 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 |