From 5119043a19546bf6e9d99cce3bf19df9bbf61dd9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 3 Jun 2014 19:07:29 +0000 Subject: [PATCH] Fixed a bug introduced by rev 5317, which prevented use of execution paths --- xorriso/parse_exec.c | 2 +- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorriso/parse_exec.c b/xorriso/parse_exec.c index c46e13c8..7355ae40 100644 --- a/xorriso/parse_exec.c +++ b/xorriso/parse_exec.c @@ -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) diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 9eaea118..d86fb5f7 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2014.05.28.125704" +#define Xorriso_timestamP "2014.06.03.190644"