Browse Source

fix uninstall crontab

pull/14/head
Neil 9 years ago
parent
commit
7d076cfcea
  1. 2
      le.sh

2
le.sh

@ -568,7 +568,7 @@ uninstall() {
_initpath _initpath
_info "Removing cron job" _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 - crontab -l | sed "/le.sh renewAll/d" | crontab -
if command -v crond > /dev/null ; then if command -v crond > /dev/null ; then
service crond reload 2>/dev/null service crond reload 2>/dev/null

Loading…
Cancel
Save