if an e_exec instance gets an exit event, but is a phony exec, block the event

This commit is contained in:
Mike Blumenkrantz 2013-06-21 14:35:17 +01:00
parent 998835bca0
commit 9721885ce4
1 changed files with 1 additions and 0 deletions

View File

@ -703,6 +703,7 @@ _e_exec_cb_exit(void *data __UNUSED__, int type __UNUSED__, void *event)
return ECORE_CALLBACK_PASS_ON;
inst = ecore_exe_data_get(ev->exe);
if (!inst) return ECORE_CALLBACK_PASS_ON;
if (inst->phony) return ECORE_CALLBACK_RENEW;
/* /bin/sh uses this if cmd not found */
if ((ev->exited) &&