aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 46f878693..d2ce7fd9b 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -839,7 +839,7 @@ GNUNET_OS_get_suid_binary_path (const struct GNUNET_CONFIGURATION_Handle *cfg,
839 "PATHS", 839 "PATHS",
840 "SUID_BINARY_PATH", 840 "SUID_BINARY_PATH",
841 &path); 841 &path);
842 if (NULL == path) 842 if (NULL == path || 0 == strlen (path))
843 return GNUNET_OS_get_libexec_binary_path (progname); 843 return GNUNET_OS_get_libexec_binary_path (progname);
844 path_len = strlen (path); 844 path_len = strlen (path);
845 GNUNET_asprintf (&binary, 845 GNUNET_asprintf (&binary,