mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
fix uninstall, compatible with previous versions
This commit is contained in:
parent
6d0a26f4f2
commit
85fb3776eb
4
le.sh
4
le.sh
@ -656,8 +656,8 @@ uninstall() {
|
|||||||
_initpath
|
_initpath
|
||||||
_info "Removing cron job"
|
_info "Removing cron job"
|
||||||
|
|
||||||
if crontab -l | grep 'le renewAll' ; then
|
if crontab -l | grep 'le.*renewAll' ; then
|
||||||
crontab -l | sed "/le renewAll/d" | crontab -
|
crontab -l | sed "/le.*renewAll/d" | crontab -
|
||||||
if command -v crond > /dev/null ; then
|
if command -v crond > /dev/null ; then
|
||||||
service crond reload >/dev/null
|
service crond reload >/dev/null
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user