File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ setup() {
5555 [ -e ' ./simple-agent_profile_listen_addr' ]
5656 host=$( cat ./simple-agent_profile_listen_addr)
5757
58- check_port=$( cat register.port | grep $host )
58+ check_port=$( cat register.port | grep -a $host )
5959 [ " $check_port " != " " ]
6060
6161 kill -9 $SAMPLE_PID
@@ -71,7 +71,7 @@ setup() {
7171 [ -e ' ./simple-agent_profile_listen_addr' ]
7272 host=$( cat ./simple-agent_profile_listen_addr)
7373
74- check_port=$( cat register.port | grep $host )
74+ check_port=$( cat register.port | grep -a $host )
7575 [ " $check_port " != " " ]
7676
7777 kill -9 $SAMPLE_PID
@@ -85,7 +85,7 @@ setup() {
8585 SAMPLE_PID=$!
8686 sleep 2
8787
88- check_port=$( cat register.port | grep 7888)
88+ check_port=$( cat register.port | grep -a 7888)
8989 [ " $check_port " != " " ]
9090
9191 kill -9 $SAMPLE_PID
@@ -101,7 +101,7 @@ setup() {
101101 [ -e ' ./simple-agent_profile_listen_addr' ]
102102 host=$( cat ./simple-agent_profile_listen_addr)
103103
104- check_port=$( cat register.port | grep $host )
104+ check_port=$( cat register.port | grep -a $host )
105105 [ " $check_port " != " " ]
106106
107107 kill -9 $SAMPLE_PID
You can’t perform that action at this time.
0 commit comments