mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
fix uninstall crontab
This commit is contained in:
2
le.sh
2
le.sh
@@ -568,7 +568,7 @@ uninstall() {
|
||||
_initpath
|
||||
_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 -
|
||||
if command -v crond > /dev/null ; then
|
||||
service crond reload 2>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user