fix pattern to pick the right hostid.

This commit is contained in:
Eric House 2011-07-06 20:02:51 -07:00
parent a3dbde9b88
commit abf60e027d

View file

@ -24,7 +24,7 @@ while [ $# -ge 1 ]; do
*got_connect_cmd:\ connName* ) *got_connect_cmd:\ connName* )
CONNNAME="$(echo $LINE | sed 's,^.*connName: "\(.*\)"$,\1,')" CONNNAME="$(echo $LINE | sed 's,^.*connName: "\(.*\)"$,\1,')"
;; ;;
*hostid* ) *got_connect_cmd:\ set\ hostid* )
HOSTID=$(echo $LINE | sed 's,^.*set hostid: \(.\)$,\1,') HOSTID=$(echo $LINE | sed 's,^.*set hostid: \(.\)$,\1,')
;; ;;
*getChannelSeed:\ channelSeed:*) *getChannelSeed:\ channelSeed:*)