@ -8,10 +8,6 @@ then
then
echo "kill $pid success"
rm -f *.log
./run.sh
else
echo "kill $pid error"
fi
@ -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 ]