From 410f62632d5f81ee12e681a874157fb08f1333fc Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 04:08:55 +0800 Subject: [PATCH] init --- shell/killNode | 4 ---- shell/updateRisk | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/shell/killNode b/shell/killNode index 3a87deb..e0ae362 100644 --- a/shell/killNode +++ b/shell/killNode @@ -8,10 +8,6 @@ then then echo "kill $pid success" rm -f *.log - ./run.sh - else - echo "kill $pid error" fi -else ./run.sh fi diff --git a/shell/updateRisk b/shell/updateRisk index 606c61d..5a5935a 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -22,7 +22,7 @@ function run(){ } #检查是否正在部署 -result =`ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'` +result = `ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'` echo $result if [ ! -z $result ] then