forked from enlightenment/enlightenment
enlightenment_open: correctly return the exist status code of the executed command
@fix and close T3555
This commit is contained in:
parent
e5e875ded8
commit
107872af91
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue