Skip to content

Commit

Permalink
Remove setsid()
Browse files Browse the repository at this point in the history
  • Loading branch information
Moe-hacker committed Nov 23, 2024
1 parent cbc4821 commit 16f77dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ruri.c
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,6 @@ int ruri(int argc, char **argv)
prctl(PR_SET_NAME, "ruri");
// Catch coredump signal.
ruri_register_signal();
// Try to create a new session.
setsid();
// Warning for dev/debug build.
#ifdef RURI_DEBUG
cprintf("{red}Warning: this is a dev/debug build, do not use it in production{clear}\n");
Expand Down

0 comments on commit 16f77dc

Please sign in to comment.