diff options
| author | aosipenko <[email protected]> | 2022-02-10 16:48:08 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:08 +0300 |
| commit | 69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch) | |
| tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /util/system/daemon.cpp | |
| parent | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/daemon.cpp')
| -rw-r--r-- | util/system/daemon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/daemon.cpp b/util/system/daemon.cpp index f7c31062427..130e6c8f45e 100644 --- a/util/system/daemon.cpp +++ b/util/system/daemon.cpp @@ -85,11 +85,11 @@ bool NDaemonMaker::MakeMeDaemon(ECloseDescriptors cd, EStdIoDescriptors iod, ECh return true; } - if (chd == chdirRoot) { + if (chd == chdirRoot) { if (chdir("/")) { - ythrow TSystemError() << "chdir(\"/\") failed"; + ythrow TSystemError() << "chdir(\"/\") failed"; } - } + } int fd[4] = {-1, -1, -1, -1}; switch (iod) { |
