Commit d330e25c d330e25c74ac983ba37acd307f9a3558a4e2e596 by zhanghao

commit

1 parent 0e6db761
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 port=8090 2 port=8090
3 lsof -i :$port | awk '{print $2}'> tmp 3 lsof -i :$port | awk '{print $2}'> tmp
4 pid=$(awk 'NR==2{print}' tmp); 4 pid=$(awk 'NR==2{print}' tmp);
5 echo "$pid" 5 #echo "$pid"
6 if [ -n "$pid" ]; then 6 if [ -n "$pid" ]; then
7 kill -9 $pid; 7 kill -9 $pid;
8 echo "success" 8 echo "success"
......