stktest: Don't power up if no more tests remain

This commit is contained in:
Denis Kenzior 2012-10-01 09:50:20 -05:00
parent c563ced686
commit 6c9195486e
1 changed files with 3 additions and 1 deletions

View File

@ -1213,8 +1213,10 @@ void __stktest_test_next()
else
cur_test = cur_test->next;
if (cur_test == NULL)
if (cur_test == NULL) {
g_main_loop_quit(main_loop);
return;
}
powerup();
}