From: Thibault Saunier Date: Sat, 5 Oct 2013 15:43:27 +0000 (-0300) Subject: scenario: Use g_error instead of exit (0) X-Git-Tag: 1.19.3~491^2~2259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=820ebe3b26f46ac29c3cc1a419c6919476d33512;p=platform%2Fupstream%2Fgstreamer.git scenario: Use g_error instead of exit (0) --- diff --git a/validate/gst/validate/gst-validate-scenario.c b/validate/gst/validate/gst-validate-scenario.c index 4c92414..ba1195c 100644 --- a/validate/gst/validate/gst-validate-scenario.c +++ b/validate/gst/validate/gst-validate-scenario.c @@ -834,11 +834,8 @@ done: if (lfilename) g_free (lfilename); - if (ret == FALSE) { - g_printerr ("Could not set scenario %s => EXIT\n", scenario_name); - - exit (0); - } + if (ret == FALSE) + g_error ("Could not set scenario %s => EXIT\n", scenario_name); return ret;