summaryrefslogtreecommitdiffstats
path: root/util/system/execpath.cpp
diff options
context:
space:
mode:
authorAlexander Fokin <[email protected]>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:45:38 +0300
commitbf9e69a933f89af083d895185f01ed65e4d90766 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/system/execpath.cpp
parent863a59a65247c24db7cb06789bc5cf79d04da32f (diff)
Restoring authorship annotation for Alexander Fokin <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/execpath.cpp')
-rw-r--r--util/system/execpath.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/execpath.cpp b/util/system/execpath.cpp
index ac2141ef036..33198af58b0 100644
--- a/util/system/execpath.cpp
+++ b/util/system/execpath.cpp
@@ -158,15 +158,15 @@ static TString GetExecPathImpl() {
static bool GetPersistentExecPathImpl(TString& to) {
#if defined(_solaris_)
to = TString("/proc/self/object/a.out");
- return true;
+ return true;
#elif defined(_linux_) || defined(_cygwin_)
to = TString("/proc/self/exe");
- return true;
+ return true;
#elif defined(_freebsd_)
to = TString("/proc/curproc/file");
- return true;
+ return true;
#else // defined(_win_) || defined(_darwin_) or unknown
- Y_UNUSED(to);
+ Y_UNUSED(to);
return false;
#endif
}