Return to ssh-agent.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.15, 1999/10/28 08:43:10 | version 1.16, 1999/10/28 20:41:23 | ||
---|---|---|---|
|
|
||
close(1); | close(1); | ||
close(2); | close(2); | ||
if (ac == 0 && setsid() == -1) | if (setsid() == -1) | ||
cleanup_exit(1); | { | ||
perror("setsid"); | |||
cleanup_exit(1); | |||
} | |||
if (atexit(cleanup_socket) < 0) | if (atexit(cleanup_socket) < 0) | ||
cleanup_exit(1); | { | ||
perror("atexit"); | |||
cleanup_exit(1); | |||
} | |||
new_socket(AUTH_SOCKET, sock); | new_socket(AUTH_SOCKET, sock); | ||
if (ac > 0) | if (ac > 0) |