Also fail if exit signal is non-zero.
We should fail if we segfault, or exit because of another error that ecore_exe reports a zero exit code for.
This commit is contained in:
parent
f94850e84a
commit
2d5cc83ed5
|
@ -20,7 +20,7 @@ _job_deleted_cb(void *data, int type EINA_UNUSED, void *event)
|
|||
Ecore_Exe_Event_Del *msg = (Ecore_Exe_Event_Del *) event;
|
||||
Scheduler_Ctx *ctx = data;
|
||||
|
||||
if (msg->exit_code != 0)
|
||||
if ((msg->exit_code != 0) || (msg->exit_signal != 0))
|
||||
{
|
||||
List_Entry *ent = ecore_exe_data_get(msg->exe);
|
||||
exactness_ctx.errors = eina_list_append(exactness_ctx.errors, ent);
|
||||
|
|
Loading…
Reference in New Issue