diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-04-28 19:33:04 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-28 19:33:04 -0400 |
commit | 1995a68df475f941035929a48601617afecc1072 (patch) | |
tree | 7f40ba325c80e3ef5247ea83dd1ad5ceaa8370d0 /bin/mw | |
parent | 9947cf400e0692fe4fe581c51c526ceb33b5f2b4 (diff) |
cron check more liberal
Diffstat (limited to 'bin/mw')
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |