diff --git a/tests/runtests.pl b/tests/runtests.pl
index ff9e99bd7d43b258b82951ec174805e3285b5c14..00558598729c2820f9626fd38560b7a58d8b7db9 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -1081,7 +1081,7 @@ sub singletest {
 
     if($dumped_core) {
         print "core dumped!\n";
-        if(0+ && $gdb) {
+        if(0 && $gdb) {
             print "running gdb for post-mortem analysis:\n";
             open(GDBCMD, ">log/gdbcmd2");
             print GDBCMD "bt\n";