summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/package.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index f1a3b87..b067f63 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -167,13 +167,8 @@ package_extract(Device *dev, char *name, Boolean depended)
pipe(pfd);
pid = fork();
if (!pid) {
- extern int _interactiveHack;
-
dup2(pfd[0], 0); close(pfd[0]);
- if (!_interactiveHack) {
- dup2(DebugFD, 1);
- close(2);
- }
+ dup2(DebugFD, 1); dup2(1, 2);
close(pfd[1]);
/* Prevent pkg_add from wanting to interact in bad ways */
OpenPOWER on IntegriCloud