aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/os_installation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 674e47a5f..e35f86c3e 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -396,6 +396,9 @@ os_get_gnunet_path ()
396#if LINUX 396#if LINUX
397 if (NULL != (ret = get_path_from_proc_maps ())) 397 if (NULL != (ret = get_path_from_proc_maps ()))
398 return ret; 398 return ret;
399 /* try path *first*, before /proc/exe, as /proc/exe can be wrong */
400 if (NULL != (ret = get_path_from_PATH ("gnunet-arm")))
401 return ret;
399 if (NULL != (ret = get_path_from_proc_exe ())) 402 if (NULL != (ret = get_path_from_proc_exe ()))
400 return ret; 403 return ret;
401#endif 404#endif