aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/os_installation.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index bfc5970fa..34ddd4372 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -477,8 +477,9 @@ GNUNET_OS_check_helper_binary (const char *binary)
477 } 477 }
478 GNUNET_free (binaryexe); 478 GNUNET_free (binaryexe);
479#else 479#else
480 if (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO, 480 if ( (GNUNET_YES == GNUNET_STRINGS_path_is_absolute (binary, GNUNET_NO,
481 NULL, NULL)) 481 NULL, NULL)) ||
482 (0 == strncmp (binary, "./", 2)) )
482 p = GNUNET_strdup (binary); 483 p = GNUNET_strdup (binary);
483 else 484 else
484 { 485 {