aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/daemon.cpp
diff options
context:
space:
mode:
authordeshevoy <deshevoy@yandex-team.ru>2022-02-10 16:46:57 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:57 +0300
commit28148f76dbfcc644d96427d41c92f36cbf2fdc6e (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /util/system/daemon.cpp
parente988f30484abe5fdeedcc7a5d3c226c01a21800c (diff)
downloadydb-28148f76dbfcc644d96427d41c92f36cbf2fdc6e.tar.gz
Restoring authorship annotation for <deshevoy@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/daemon.cpp')
-rw-r--r--util/system/daemon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/system/daemon.cpp b/util/system/daemon.cpp
index 8856c073d41..130e6c8f45e 100644
--- a/util/system/daemon.cpp
+++ b/util/system/daemon.cpp
@@ -25,7 +25,7 @@ static bool Fork(EParent parent) {
while (waitpid(pid, &status, 0) < 0 && errno == EINTR) {
}
if (parent == callExitFromParent) {
- _exit(0);
+ _exit(0);
} else {
return true;
}
@@ -40,7 +40,7 @@ static bool Fork(EParent parent) {
pid = fork();
if (pid > 0) {
- _exit(0);
+ _exit(0);
} else if (pid < 0) {
ythrow TSystemError() << "Cannot second fork";
}