Commit 8e5b64ae authored by unknown's avatar unknown

Stop all timers before exiting when --start-and-exit

parent b860c4db
...@@ -2913,6 +2913,7 @@ sub run_testcase ($) { ...@@ -2913,6 +2913,7 @@ sub run_testcase ($) {
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
if ( $opt_start_and_exit or $opt_start_dirty ) if ( $opt_start_and_exit or $opt_start_dirty )
{ {
mtr_timer_stop_all($glob_timers);
mtr_report("\nServers started, exiting"); mtr_report("\nServers started, exiting");
exit(0); exit(0);
} }
......
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