forked from enlightenment/enlightenment
if an e_exec instance gets an exit event, but is a phony exec, block the event
This commit is contained in:
parent
998835bca0
commit
9721885ce4
|
@ -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) &&
|
||||
|
|
Loading…
Reference in New Issue