gdb/testsuite: remove use of then keyword from gdb.fortran/*.exp
[binutils-gdb.git] / gdb / testsuite / gdb.fortran / namelist.exp
index 39cf0e176549c94eda280029a4fe36257c813166..46f24f4797008c53507f3f56ac998abc0142679a 100644 (file)
@@ -25,7 +25,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90}]} {
     return -1
 }
 
-if ![fortran_runto_main] then {
+if {![fortran_runto_main]} {
     perror "couldn't run to main"
     return
 }