mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
scenario: Use g_error instead of exit (0)
This commit is contained in:
parent
045cc47dcc
commit
820ebe3b26
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue