From 0f793850c62cb5a6e960dc6ce4d56d81625ce382 Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 19 Feb 2016 22:58:10 +0800 Subject: [PATCH] fix uninstall crontab --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 4fb8b4a..b384838 100755 --- a/le.sh +++ b/le.sh @@ -1046,7 +1046,7 @@ uninstallcronjob() { cr="$(crontab -l | grep 'le.sh cron')" if [ "$cr" ] ; then crontab -l | sed "/le.sh cron/d" | crontab - - LE_WORKING_DIR="$(echo "$cr" | cut -d ' ' -f 7 | cut -d '=' -f 2 | tr -d '"')" + LE_WORKING_DIR="$(echo "$cr" | cut -d ' ' -f 6 | cut -d '=' -f 2 | tr -d '"')" _info LE_WORKING_DIR "$LE_WORKING_DIR" fi _initpath