mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-04-02 15:27:49 +08:00
ocserv: create its own process group
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -1329,6 +1329,9 @@ int main(int argc, char** argv)
|
||||
}
|
||||
}
|
||||
|
||||
/* create our process group */
|
||||
setpgid(0, 0);
|
||||
|
||||
/* we don't need them */
|
||||
close(STDIN_FILENO);
|
||||
close(STDOUT_FILENO);
|
||||
|
||||
Reference in New Issue
Block a user