Return to ssh-agent.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.13, 1999/10/27 16:37:45 | version 1.14, 1999/10/27 23:34:53 | ||
---|---|---|---|
|
|
||
exit(1); | exit(1); | ||
} | } | ||
/* Create a new session and process group */ | |||
if (setsid() < 0) { | |||
perror("setsid failed"); | |||
exit(1); | |||
} | |||
/* Ignore if a client dies while we are sending a reply */ | |||
signal(SIGPIPE, SIG_IGN); | |||
sock = socket(AF_UNIX, SOCK_STREAM, 0); | sock = socket(AF_UNIX, SOCK_STREAM, 0); | ||
if (sock < 0) | if (sock < 0) | ||
{ | { |