diff --git a/xwords4/linux/scripts/relayID.sh b/xwords4/linux/scripts/relayID.sh index f5109cc50..495e393c8 100755 --- a/xwords4/linux/scripts/relayID.sh +++ b/xwords4/linux/scripts/relayID.sh @@ -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,')