summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/stktest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/stktest.c b/tools/stktest.c
index 05ff0ba2..12c87dde 100644
--- a/tools/stktest.c
+++ b/tools/stktest.c
@@ -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();
}