From 29f9394257e37e865206ee1043cb587b60c7d4b1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Jul 2018 13:06:26 +0530 Subject: [PATCH] ... --- linux-launcher.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-launcher.c b/linux-launcher.c index 58b788f2a..9c9665724 100644 --- a/linux-launcher.c +++ b/linux-launcher.c @@ -93,6 +93,7 @@ read_exe_path(char *exe, size_t buf_sz) { char apple[PATH_MAX+1] = {0}; if (_NSGetExecutablePath(apple, &size) != 0) { fprintf(stderr, "Failed to get path to executable\n"); return false; } if (realpath(apple, exe) == NULL) { fprintf(stderr, "realpath() failed on the executable's path\n"); return false; } + return true; } #elif defined(__FreeBSD__) #include