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:
Tom Hacohen 2013-06-10 16:57:07 +01:00
parent f94850e84a
commit 2d5cc83ed5
1 changed files with 1 additions and 1 deletions

View File

@ -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);