From 7d076cfcea158a2fa1d30b27233b61ad963fdb42 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 5 Jan 2016 09:41:48 +0800 Subject: [PATCH] fix uninstall crontab --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index d113ee93..081f73ea 100755 --- a/le.sh +++ b/le.sh @@ -568,7 +568,7 @@ uninstall() { _initpath _info "Removing cron job" - if ! crontab -l | grep 'le.sh renewAll' ; then + if crontab -l | grep 'le.sh renewAll' ; then crontab -l | sed "/le.sh renewAll/d" | crontab - if command -v crond > /dev/null ; then service crond reload 2>/dev/null