aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/execpath.cpp
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /util/system/execpath.cpp
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 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 33198af58b..ac2141ef03 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
}