From 107872af9182e5bcc1a72c6eb770f15d1a93a8d4 Mon Sep 17 00:00:00 2001 From: Dave Andreoli Date: Fri, 20 May 2016 19:24:43 +0200 Subject: [PATCH] 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 045fa763c..fa787e825 100644 --- a/src/bin/e_open.c +++ b/src/bin/e_open.c @@ -8,6 +8,7 @@ #include #include #include +#include # ifdef E_API # undef E_API @@ -562,7 +563,7 @@ main(int argc, char *argv[]) } free(cmds); - return ret; + return WEXITSTATUS(ret); } }