Commit 85fb3776 authored by neil's avatar neil
Browse files

fix uninstall, compatible with previous versions

parent 6d0a26f4
......@@ -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
......
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