summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 45ccb3d4..82520b8b 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1336,8 +1336,11 @@ main(int ac, char **av)
* setlogin() affects the entire process group. We don't
* want the child to be able to affect the parent.
*/
+#if 0
+ /* XXX: this breaks Solaris */
if (setsid() < 0)
error("setsid: %.100s", strerror(errno));
+#endif
/*
* Disable the key regeneration alarm. We will not regenerate the