summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/package.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-02-29 10:40:59 +0000
committerjkh <jkh@FreeBSD.org>2000-02-29 10:40:59 +0000
commit8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a (patch)
tree86307e06f2ef1119a459d79e6433486546aa6a95 /usr.sbin/sysinstall/package.c
parent35e15b09be3df921694ae02d3105e751fa8fa411 (diff)
downloadFreeBSD-src-8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a.zip
FreeBSD-src-8905bd306e55ccfa2a8ee59d95e9ed5bc3785f8a.tar.gz
o Add support for loading the rsaref or rsaintl packages, depending
on locale. o Allow use of "G" in label editor to stand for gigabytes. This is actually an unrelated patch which I meant to commit separately but what the heck, it's late. Partially submitted by: phk
Diffstat (limited to 'usr.sbin/sysinstall/package.c')
-rw-r--r--usr.sbin/sysinstall/package.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/package.c b/usr.sbin/sysinstall/package.c
index 8901d08..1959df7 100644
--- a/usr.sbin/sysinstall/package.c
+++ b/usr.sbin/sysinstall/package.c
@@ -167,7 +167,8 @@ package_extract(Device *dev, char *name, Boolean depended)
pid = fork();
if (!pid) {
dup2(pfd[0], 0); close(pfd[0]);
- dup2(DebugFD, 1);
+ if (!PkgInteractive)
+ dup2(DebugFD, 1);
close(2);
close(pfd[1]);
if (isDebug())
OpenPOWER on IntegriCloud