fix uninstall, compatible with previous versions

This commit is contained in:
neil committed 2016-01-07 13:15:22 +08:00
1 parent 6d0a26f4f2
commit 85fb3776eb
1 file changed
+2 -2
+2 -2
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.