Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Iam-WenYi committed Aug 25, 2024
1 parent 8fd276c commit acc7d53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pikiwidb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,11 +276,11 @@ static int InitLimit() {

static void daemonize() {
if (fork()) {
// parent exits
exit(0);
// parent exits
exit(0);
}
// create a new session
setsid();
setsid();
}

static void closeStd() {
Expand Down

0 comments on commit acc7d53

Please sign in to comment.