File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ check_st2_host_dependencies() {
6161
6262 for i in " ${ports[@]} "
6363 do
64- rv=$( port_status $i )
64+ rv=$( port_status $i | sed ' s/.*-$\|.*st2.*\|.*nginx.*\|.*postgres.*\|.*mongo.*\|.*rabbitmq.*// ' )
6565 if [ " $rv " != " Unbound" ] && [ " $rv " != " " ]; then
6666 used+=(" $rv " )
6767 fi
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ check_st2_host_dependencies() {
178178
179179 for i in " ${ports[@]} "
180180 do
181- rv=$( port_status $i )
181+ rv=$( port_status $i | sed ' s/.*-$\|.*st2.*\|.*nginx.*\|.*postgres.*\|.*mongo.*\|.*rabbitmq.*// ' )
182182 if [ " $rv " != " Unbound" ] && [ " $rv " != " " ]; then
183183 used+=(" $rv " )
184184 fi
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ check_st2_host_dependencies() {
173173
174174 for i in " ${ports[@]} "
175175 do
176- rv=$( port_status $i )
176+ rv=$( port_status $i | sed ' s/.*-$\|.*st2.*\|.*nginx.*\|.*postgres.*\|.*mongo.*\|.*rabbitmq.*// ' )
177177 if [ " $rv " != " Unbound" ] && [ " $rv " != " " ]; then
178178 used+=(" $rv " )
179179 fi
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ check_st2_host_dependencies() {
173173
174174 for i in " ${ports[@]} "
175175 do
176- rv=$( port_status $i )
176+ rv=$( port_status $i | sed ' s/.*-$\|.*st2.*\|.*nginx.*\|.*postgres.*\|.*mongo.*\|.*rabbitmq.*// ' )
177177 if [ " $rv " != " Unbound" ] && [ " $rv " != " " ]; then
178178 used+=(" $rv " )
179179 fi
You can’t perform that action at this time.
0 commit comments