summaryrefslogtreecommitdiffstats
path: root/util/system/execpath.cpp
diff options
context:
space:
mode:
authoreeight <[email protected]>2022-02-10 16:46:19 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:19 +0300
commitbd085aee9b4f7a0bee302ce687964ffb7098f986 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/system/execpath.cpp
parent475c0a46f28166e83fd263badc7546377cddcabe (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/execpath.cpp')
-rw-r--r--util/system/execpath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/execpath.cpp b/util/system/execpath.cpp
index 1b8d1ad4e4a..33198af58b0 100644
--- a/util/system/execpath.cpp
+++ b/util/system/execpath.cpp
@@ -159,13 +159,13 @@ static bool GetPersistentExecPathImpl(TString& to) {
#if defined(_solaris_)
to = TString("/proc/self/object/a.out");
return true;
-#elif defined(_linux_) || defined(_cygwin_)
+#elif defined(_linux_) || defined(_cygwin_)
to = TString("/proc/self/exe");
return true;
#elif defined(_freebsd_)
to = TString("/proc/curproc/file");
return true;
-#else // defined(_win_) || defined(_darwin_) or unknown
+#else // defined(_win_) || defined(_darwin_) or unknown
Y_UNUSED(to);
return false;
#endif