diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-11-05 14:20:41 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-11-05 14:20:41 +0000 |
commit | 980586342423c1f5d944949ca56c84fc0c45c12e (patch) | |
tree | 91a74a2be147691d05da4a6cf404007fddd9db88 /src | |
parent | b010cc53dd715676fd5c743aecc1a1c497441153 (diff) |
-do not use libexec for absolute paths
git-svn-id: https://gnunet.org/svn/gnunet@24742 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src')
-rw-r--r-- | src/util/os_installation.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index ef3eda2ff2..035259ff6b 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c @@ -573,6 +573,8 @@ GNUNET_OS_get_libexec_binary_path (const char *progname) char *libexecdir; char *binary; + if (DIR_SEPARATOR == progname[0]) + return GNUNET_strdup (progname); libexecdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBEXECDIR); if (NULL == libexecdir) return GNUNET_strdup (progname); |