osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-dev/+/33460 )


Change subject: net/templates/run.sh: fix BSC_COUNT check
......................................................................

net/templates/run.sh: fix BSC_COUNT check

Use ${BSC_COUNT} instead of $BSC_COUNT, as otherwise the template code
doesn't replace the variable. Without this patch it always went into the
else code path.

Change-Id: I2b880a8da51f96c16fb56d9d6e3994ecc1b47ae7
---
M net/templates/run.sh
1 file changed, 14 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/60/33460/1

diff --git a/net/templates/run.sh b/net/templates/run.sh
index 1954cfb..d4edbaa 100755
--- a/net/templates/run.sh
+++ b/net/templates/run.sh
@@ -244,7 +244,7 @@
 term "${CMD_HNBGW}" HNBGW


-if [ "$BSC_COUNT" = 1 ]; then
+if [ "${BSC_COUNT}" = 1 ]; then
   term "${CMD_MGW} -c osmo-mgw-for-bsc-0.cfg" MGW4BSC
   term "${CMD_BSC} -c osmo-bsc-0.cfg" BSC
 else

--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/33460
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I2b880a8da51f96c16fb56d9d6e3994ecc1b47ae7
Gerrit-Change-Number: 33460
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to