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