From 57a412fb4e356a180eeced30a6264629fdf86674 Mon Sep 17 00:00:00 2001 From: QL Date: Sat, 31 Jul 2021 04:10:43 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=89ql=20extra.sh=20=F0=9F=94=A8fix=20b?= =?UTF-8?q?ug=202021-07-31=2012:10:43?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tasks/qlrepo/extra.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/qlrepo/extra.sh b/Tasks/qlrepo/extra.sh index ff823af..72a677c 100644 --- a/Tasks/qlrepo/extra.sh +++ b/Tasks/qlrepo/extra.sh @@ -126,7 +126,7 @@ update_Ninja_normal(){ reinstall_Ninja_force(){ ps -ef|grep ninja|grep -v grep - if [ $? -ne 0 ] + if [ $? -ne 0 ]; then cd /ql ps -ef|grep ninja|grep -v grep|awk '{print $1}'|xargs kill -9 && rm -rf /ql/ninja && rm -rf /ql/ninja git clone https://github.com/MoonBegonia/ninja.git /ql/ninja ## 拉取仓库