diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-02-14 23:00:01 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1997-02-14 23:00:01 +0000 |
| commit | 3a28079136e37f8acb5a83006c2080848fa1c144 (patch) | |
| tree | 7a8ade4deef54732418f52c6c9e421c740b68549 | |
| parent | 39a2443fbdfd44b5cd2d769516def316890b5cfe (diff) | |
Notes
| -rw-r--r-- | release/sysinstall/package.c | 4 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/package.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index 8c0b1dad42e1..8387f638c4a8 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.56 1997/02/14 20:59:06 jkh Exp $ + * $Id: package.c,v 1.57 1997/02/14 21:59:26 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -123,7 +123,7 @@ package_extract(Device *dev, char *name, Boolean depended) if (!pid) { dup2(pfd[0], 0); close(pfd[0]); dup2(DebugFD, 1); - close(2); + dup2(DebugFD, 2); close(pfd[1]); i = execl("/usr/sbin/pkg_add", "/usr/sbin/pkg_add", "-", 0); if (isDebug()) diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c index 8c0b1dad42e1..8387f638c4a8 100644 --- a/usr.sbin/sysinstall/package.c +++ b/usr.sbin/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.56 1997/02/14 20:59:06 jkh Exp $ + * $Id: package.c,v 1.57 1997/02/14 21:59:26 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -123,7 +123,7 @@ package_extract(Device *dev, char *name, Boolean depended) if (!pid) { dup2(pfd[0], 0); close(pfd[0]); dup2(DebugFD, 1); - close(2); + dup2(DebugFD, 2); close(pfd[1]); i = execl("/usr/sbin/pkg_add", "/usr/sbin/pkg_add", "-", 0); if (isDebug()) |
