From 85fb3776eb614e3171864689bfedb1a4d2c59008 Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 7 Jan 2016 13:15:22 +0800 Subject: [PATCH] fix uninstall, compatible with previous versions --- le.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/le.sh b/le.sh index a3787d78..4cd263c0 100755 --- a/le.sh +++ b/le.sh @@ -656,8 +656,8 @@ uninstall() { _initpath _info "Removing cron job" - if crontab -l | grep 'le renewAll' ; then - crontab -l | sed "/le renewAll/d" | crontab - + if crontab -l | grep 'le.*renewAll' ; then + crontab -l | sed "/le.*renewAll/d" | crontab - if command -v crond > /dev/null ; then service crond reload >/dev/null else