diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-24 18:21:49 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-24 18:21:49 +0000 |
commit | 3134475f4a6bfe780c3bc3978303494fde054480 (patch) | |
tree | f0e474a0346147b9440ffa7a7dffc79b8a1445c6 /usr.sbin | |
parent | 797e22942291434810a2da358181b88873dbaad7 (diff) | |
download | FreeBSD-src-3134475f4a6bfe780c3bc3978303494fde054480.zip FreeBSD-src-3134475f4a6bfe780c3bc3978303494fde054480.tar.gz |
"Bring out your dead!" Always try to reap the children we leave around.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/ftp.c b/usr.sbin/sysinstall/ftp.c index 90f29ae..1de9902 100644 --- a/usr.sbin/sysinstall/ftp.c +++ b/usr.sbin/sysinstall/ftp.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: ftp.c,v 1.4 1995/05/24 11:19:10 gpalmer Exp $ + * $Id: ftp.c,v 1.5 1995/05/24 17:49:14 jkh Exp $ * */ @@ -220,7 +220,7 @@ FtpOpen(FTP_t ftp, char *host, char *user, char *passwd) ftp->state = isopen; return 0; - fail: +fail: close(ftp->fd_ctrl); ftp->fd_ctrl = -1; return -1; |