From 489846d2e6387b255a390a6e3a8b8675eca55a0e Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 21 Apr 2021 20:24:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E4=BB=BB=E5=8A=A1=E5=A4=B1=E8=B4=A5=20fix=20#50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/git_pull.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/git_pull.sh b/shell/git_pull.sh index 36bb9f35..8083ad0f 100755 --- a/shell/git_pull.sh +++ b/shell/git_pull.sh @@ -215,7 +215,7 @@ Del_Cron() { echo JsDrop=$(cat $ListJsDrop) for Cron in $JsDrop; do - local id=$(cat $ListCronCurrent | grep -E "js $Cron" | perl -pe "s|.*ID=(.*) js $Cron|\1|") + local id=$(cat $ListCronCurrent | grep -E "js $Cron$" | perl -pe "s|.*ID=(.*) js $Cron$|\1|") del_cron_api "$id" done crontab $ListCronCurrent