ONOS-737: regexp for grabbing OC* variables changed
Change-Id: Id5651ffb41230a39c6ed68e1605feaf3c0aa337b
diff --git a/tools/test/bin/onos-iterm-cli b/tools/test/bin/onos-iterm-cli
index 85cee83..add607b 100755
--- a/tools/test/bin/onos-iterm-cli
+++ b/tools/test/bin/onos-iterm-cli
@@ -4,7 +4,7 @@
#-------------------------------------------------------------------------------
cellName=$ONOS_CELL
-nodeCount=$(env | egrep "OC[0-9]+" | wc -l | tr -d ' ')
+nodeCount=$(env | egrep "^OC[0-9]+" | wc -l | tr -d ' ')
osascript -e "
tell application \"iTerm\"