fix pattern

This commit is contained in:
Eric House 2013-06-24 07:30:38 -07:00
parent aca3a96b54
commit 5842654418

View file

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