master
pan 4 years ago
parent 9cc3862d0e
commit ea8a9bcb87
  1. 4
      shell/updateRisk

@ -29,9 +29,7 @@ function run(){
} }
#检查是否正在部署 #检查是否正在部署
command ="ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'" result =`ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'`
echo $command
result=${command}
echo $result echo $result
if [ ! -z $result ] if [ ! -z $result ]
then then

Loading…
Cancel
Save