mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 22:21:40 +00:00
fix uninstall crontab
This commit is contained in:
parent
d8069cd49a
commit
7d076cfcea
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…
Reference in New Issue
Block a user