aboutsummaryrefslogtreecommitdiff
path: root/lib/remote.exp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/remote.exp')
-rw-r--r--lib/remote.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/remote.exp b/lib/remote.exp
index bfae4fd..7474df2 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -1082,6 +1082,7 @@ proc check_for_board_status { variable } {
regsub "^.*\\*\\*\\* EXIT code " $output "" result;
regsub "\[\r\n\].*$" $result "" result;
regsub -all "(^|\[\r\n\]|\r\n)\\*\\*\\* EXIT code \[^\r\n\]*(\[\r\n\]\[\r\n\]?|$)" $output "" output;
+### regsub -all "(^|\r?\n)\\*\\*\\* EXIT code \[^\r\n\]*(\r?\n|$)" $output "" output;
regsub "^\[^0-9\]*" $result "" result
regsub "\[^0-9\]*$" $result "" result
verbose "got board status $result" 3