From: Denis Kenzior Date: Mon, 1 Oct 2012 14:50:20 +0000 (-0500) Subject: stktest: Don't power up if no more tests remain X-Git-Tag: 1.12~267 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c9195486e43cdb100b3ed8c5e9582cbc7023ccd;p=platform%2Fupstream%2Fofono.git stktest: Don't power up if no more tests remain --- diff --git a/tools/stktest.c b/tools/stktest.c index 05ff0ba..12c87dd 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(); }