aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-05 10:31:29 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-05 10:31:29 +0000
commit432e1e621c428190d752af86017ad99199b05292 (patch)
tree98d6d6e958b186cb3a38652ab66798c669ba54ef /src/util/os_installation.c
parentc0282299232ecfc89a3737826d0dccd2829f4a97 (diff)
downloadgnunet-432e1e621c428190d752af86017ad99199b05292.tar.gz
gnunet-432e1e621c428190d752af86017ad99199b05292.zip
bsdism
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 39b5174e3..a8789281e 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -314,6 +314,7 @@ os_get_exec_path ()
314{ 314{
315 char *ret; 315 char *ret;
316 316
317 ret = NULL;
317#if LINUX 318#if LINUX
318 ret = get_path_from_proc_exe (); 319 ret = get_path_from_proc_exe ();
319 if (ret != NULL) 320 if (ret != NULL)
@@ -330,7 +331,7 @@ os_get_exec_path ()
330 return ret; 331 return ret;
331#endif 332#endif
332 /* other attempts here */ 333 /* other attempts here */
333 return NULL; 334 return ret;
334} 335}
335 336
336 337