diff options
-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 5085c0aa4..2c678386a 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -634,6 +634,8 @@ GNUNET_OS_get_libexec_binary_path (const char *progname) | |||
634 | 634 | ||
635 | if (DIR_SEPARATOR == progname[0]) | 635 | if (DIR_SEPARATOR == progname[0]) |
636 | return GNUNET_strdup (progname); | 636 | return GNUNET_strdup (progname); |
637 | if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (progname, GNUNET_NO, NULL, NULL)) | ||
638 | return GNUNET_strdup (progname); | ||
637 | libexecdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBEXECDIR); | 639 | libexecdir = GNUNET_OS_installation_get_path (GNUNET_OS_IPK_LIBEXECDIR); |
638 | if (NULL == libexecdir) | 640 | if (NULL == libexecdir) |
639 | return GNUNET_strdup (progname); | 641 | return GNUNET_strdup (progname); |