Init dying to 1 just after passing the guard

parent da2a2168
......@@ -837,6 +837,7 @@ void die(const char *fmt, ...)
*/
if (dying)
cleanup_and_exit(1);
dying= 1;
/* Print the error message */
fprintf(stderr, "mysqltest: ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment