diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1336,8 +1336,11 @@ main(int ac, char **av) | |||
1336 | * setlogin() affects the entire process group. We don't | 1336 | * setlogin() affects the entire process group. We don't |
1337 | * want the child to be able to affect the parent. | 1337 | * want the child to be able to affect the parent. |
1338 | */ | 1338 | */ |
1339 | #if 0 | ||
1340 | /* XXX: this breaks Solaris */ | ||
1339 | if (setsid() < 0) | 1341 | if (setsid() < 0) |
1340 | error("setsid: %.100s", strerror(errno)); | 1342 | error("setsid: %.100s", strerror(errno)); |
1343 | #endif | ||
1341 | 1344 | ||
1342 | /* | 1345 | /* |
1343 | * Disable the key regeneration alarm. We will not regenerate the | 1346 | * Disable the key regeneration alarm. We will not regenerate the |