scenario: Use g_error instead of exit (0)
This commit is contained in:
parent
045cc47dcc
commit
820ebe3b26
@ -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…
x
Reference in New Issue
Block a user