commit | 45312d0cd0864aac34a3f19b8fb1f004316d1f37 | [log] [tgz] |
---|---|---|
author | Claudine Chiu <cchiu@ciena.com> | Wed Jun 15 13:17:12 2016 +0000 |
committer | Claudine Chiu <cchiu@ciena.com> | Wed Jun 15 13:47:01 2016 +0000 |
tree | b9cce78305af4a40918046949fd89c2b90849340 | |
parent | 590160aa0f27bc32c246ab72a78019e7be409dec [diff] [blame] |
ONOS-737: regexp for grabbing OC* variables changed Change-Id: Id5651ffb41230a39c6ed68e1605feaf3c0aa337b
diff --git a/tools/test/bin/onos-fetch-logs b/tools/test/bin/onos-fetch-logs index a4d7ffe..4a866d6 100755 --- a/tools/test/bin/onos-fetch-logs +++ b/tools/test/bin/onos-fetch-logs
@@ -30,7 +30,7 @@ # Select the target if [ "${1}" = "--cell" ]; then - nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) + nodes=$(env | sort | egrep "^OC[0-9]+" | cut -d= -f2) else nodes=${1:-$OCI} fi