enlightenment_open: correctly return the exist status code of the executed command

@fix and close T3555
This commit is contained in:
Davide Andreoli 2016-05-20 19:24:43 +02:00
parent e5e875ded8
commit 107872af91
1 changed files with 2 additions and 1 deletions

View File

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