diff --git a/shell/updateRisk b/shell/updateRisk index 83f4102..5ff4f12 100644 --- a/shell/updateRisk +++ b/shell/updateRisk @@ -31,7 +31,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