diff options
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/java_md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/java_md.c b/launcher/java_md.c index e3e5e6f..2e0e96b 100644 --- a/launcher/java_md.c +++ b/launcher/java_md.c @@ -484,7 +484,7 @@ CreateExecutionEnvironment(int *_argcp, * LD_LIBRARY_PATH. Note that this prevents any possible infinite * loop of execv() because we test for the prefix, above. */ - if (runpath != 0) { + if (runpath != 0 && (runpath[0] != '\0')) { strcat(new_runpath, ":"); strcat(new_runpath, runpath); } |