mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Re-add missing setsid(), missed #ifdef conversion
Fixes: 2a81289
("Make DEBUG_NOFORK a #if not #ifdef")
Fixes #180 github issue
This commit is contained in:
parent
a7e3b06b04
commit
7de29c2686
@ -330,7 +330,7 @@ static void main_noinetd(int argc, char ** argv, const char* multipath) {
|
||||
m_free(remote_host);
|
||||
m_free(remote_port);
|
||||
|
||||
#ifndef DEBUG_NOFORK
|
||||
#if !DEBUG_NOFORK
|
||||
if (setsid() < 0) {
|
||||
dropbear_exit("setsid: %s", strerror(errno));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user