Fixed a bug introduced by rev 5317, which prevented use of execution paths

This commit is contained in:
Thomas Schmitt 2014-06-03 19:07:29 +00:00
parent d80ad57083
commit 5119043a19
2 changed files with 2 additions and 2 deletions

View File

@ -2835,7 +2835,7 @@ int Xorriso_execv(struct XorrisO *xorriso, char *cmd,
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
ret= 0; goto ex;
}
if((flag & 1) && has_slash) {
if((flag & 1) && !has_slash) {
if(env_path == NULL)
env_path= "/bin:/sbin";
else if(env_path[0] == 0)

View File

@ -1 +1 @@
#define Xorriso_timestamP "2014.05.28.125704"
#define Xorriso_timestamP "2014.06.03.190644"