Commit 7d076cfc authored by Neil's avatar Neil
Browse files

fix uninstall crontab

parent d8069cd4
...@@ -568,7 +568,7 @@ uninstall() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment