]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite: remove use of then keyword from gdb.python/*.exp
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.python / py-format-string.exp
index 45b08512c0cdfa157ee3b40ae9f379ecf938cff1..26b18ce1ab05a6d1812987c9e50c402f1ef60b49 100644 (file)
@@ -52,7 +52,7 @@ proc prepare_gdb {exefile} {
   gdb_reinitialize_dir $srcdir/$subdir
   gdb_load ${exefile}
 
-  if ![runto_main] then {
+  if {![runto_main]} {
       perror "couldn't run to breakpoint"
       return
   }