discomfitor pushed a commit to branch enlightenment-0.20. http://git.enlightenment.org/core/enlightenment.git/commit/?id=22377939176d98d44ec6fa508a09f5d890eacee4
commit 22377939176d98d44ec6fa508a09f5d890eacee4 Author: Dave Andreoli <d...@gurumeditation.it> Date: Fri May 20 19:24:43 2016 +0200 enlightenment_open: correctly return the exist status code of the executed command @fix and close T3555 --- src/bin/e_open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_open.c b/src/bin/e_open.c index 045fa76..fa787e8 100644 --- a/src/bin/e_open.c +++ b/src/bin/e_open.c @@ -8,6 +8,7 @@ #include <unistd.h> #include <ctype.h> #include <errno.h> +#include <sys/wait.h> # ifdef E_API # undef E_API @@ -562,7 +563,7 @@ main(int argc, char *argv[]) } free(cmds); - return ret; + return WEXITSTATUS(ret); } } --