aboutsummaryrefslogtreecommitdiffstats
path: root/util/stream/pipe.cpp
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/stream/pipe.cpp
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/stream/pipe.cpp')
-rw-r--r--util/stream/pipe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stream/pipe.cpp b/util/stream/pipe.cpp
index abe1dcd2cb..51be1934a7 100644
--- a/util/stream/pipe.cpp
+++ b/util/stream/pipe.cpp
@@ -10,11 +10,11 @@ public:
inline TImpl(const TString& command, const char* mode)
: Pipe_(nullptr)
{
-#ifndef _freebsd_
+#ifndef _freebsd_
if (strcmp(mode, "r+") == 0) {
ythrow TSystemError(EINVAL) << "pipe \"r+\" mode is implemented only on FreeBSD";
}
-#endif
+#endif
Pipe_ = ::popen(command.data(), mode);
if (Pipe_ == nullptr) {
ythrow TSystemError() << "failed to open pipe: " << command.Quote();