diff --git a/xwords4/linux/scripts/discon_ok2.sh b/xwords4/linux/scripts/discon_ok2.sh
index 678c8d2b9..1bd691656 100755
--- a/xwords4/linux/scripts/discon_ok2.sh
+++ b/xwords4/linux/scripts/discon_ok2.sh
@@ -58,7 +58,7 @@ function connName() {
     LOG=$1
     grep 'got_connect_cmd: connName' $LOG | \
         tail -n 1 | \
-        sed 's,^.*connName: \"\(.*\)\"$,\1,'
+        sed 's,^.*connName: \"\(.*\)\" (reconnect=.)$,\1,'
 }
 
 function check_room() {