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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index c6dca8390..674e47a5f 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -429,7 +429,7 @@ os_get_gnunet_path ()
429static char * 429static char *
430os_get_exec_path () 430os_get_exec_path ()
431{ 431{
432 char *ret; 432 char *ret = NULL;
433 433
434#if LINUX 434#if LINUX
435 if (NULL != (ret = get_path_from_proc_exe ())) 435 if (NULL != (ret = get_path_from_proc_exe ()))
@@ -444,7 +444,7 @@ os_get_exec_path ()
444 return ret; 444 return ret;
445#endif 445#endif
446 /* other attempts here */ 446 /* other attempts here */
447 return NULL; 447 return ret;
448} 448}
449 449
450 450