fix uninstall crontab

This commit is contained in:
Neil 2016-01-05 09:41:48 +08:00
parent d8069cd49a
commit 7d076cfcea
1 changed files with 1 additions and 1 deletions

2
le.sh
View File

@ -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