aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.opt/fortran-string.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.opt/fortran-string.exp')
-rw-r--r--gdb/testsuite/gdb.opt/fortran-string.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.opt/fortran-string.exp b/gdb/testsuite/gdb.opt/fortran-string.exp
index 8d4018e..5798ad0 100644
--- a/gdb/testsuite/gdb.opt/fortran-string.exp
+++ b/gdb/testsuite/gdb.opt/fortran-string.exp
@@ -27,7 +27,7 @@ if { [prepare_for_testing "prepare for testing" ${testfile} ${srcfile} \
return -1
}
-if ![runto f] then {
+if {![runto f]} {
perror "couldn't run to f"
return
}