From 6975ff4aa12a45555e2faa8744383e358b6641df Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 18 Jun 2022 19:03:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drepo=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/update.sh b/shell/update.sh index e4aefcd2..52262d65 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -12,7 +12,7 @@ diff_cron() { local list_task="$2" local list_add="$3" local list_drop="$4" - if [[ -s $list_task ]] && [[ -s $list_scripts]]; then + if [[ -s $list_task ]] && [[ -s $list_scripts ]]; then grep -vwf $list_task $list_scripts >$list_add grep -vwf $list_scripts $list_task >$list_drop fi