fix uninstall crontab
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