From 1995a68df475f941035929a48601617afecc1072 Mon Sep 17 00:00:00 2001
From: Luke Smith <luke@lukesmith.xyz>
Date: Sun, 28 Apr 2019 19:33:04 -0400
Subject: cron check more liberal

---
 bin/mw | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mw b/bin/mw
index 6f3cd95..5691347 100755
--- a/bin/mw
+++ b/bin/mw
@@ -236,7 +236,7 @@ delete() { sed -ibu "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc" ;
 	sed -ibu "/account $title/,/^\(\s*$\|account\)/d" "$HOME/.config/msmtp/config"; rm -f "$HOME/.config/msmtp/configbu"
 	}
 
-choosecron() { ! pgrep -x cron\|crond >/dev/null && echo "No cron manager running. Install/enable one and then select this option again." && return 1
+choosecron() { ! pgrep cron >/dev/null && echo "No cron manager running. Install/enable one and then select this option again." && return 1
 	if crontab -l | grep mailsync >/dev/null; then
 		echo "Active mail sync cronjob detected. Do you want to remove it?"
 		printf "\033[36m\t"
-- 
cgit v1.2.3