Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.27, 2002/03/19 10:49:35 | version 1.28, 2002/03/30 18:51:15 | ||
---|---|---|---|
|
|
||
if (infile != stdin) | if (infile != stdin) | ||
fclose(infile); | fclose(infile); | ||
if (waitpid(sshpid, NULL, 0) == -1) | while (waitpid(sshpid, NULL, 0) == -1) | ||
fatal("Couldn't wait for ssh process: %s", strerror(errno)); | if (errno != EINTR) | ||
fatal("Couldn't wait for ssh process: %s", | |||
strerror(errno)); | |||
exit(0); | exit(0); | ||
} | } |