summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/compare-sections.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/compare-sections.exp')
-rw-r--r--gdb/testsuite/gdb.base/compare-sections.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/compare-sections.exp b/gdb/testsuite/gdb.base/compare-sections.exp
index d9d10d42680..9885b0c0602 100644
--- a/gdb/testsuite/gdb.base/compare-sections.exp
+++ b/gdb/testsuite/gdb.base/compare-sections.exp
@@ -79,7 +79,7 @@ gdb_test_multiple $command $test {
}
# Now get past startup code.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}