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

master
Thomas Schmitt 9 years ago
parent d80ad57083
commit 5119043a19
  1. 2
      xorriso/parse_exec.c
  2. 2
      xorriso/xorriso_timestamp.h

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

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

Loading…
Cancel
Save