aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-10-09 11:49:45 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-10-09 11:49:45 +0000
commit723b5202fe7a83eebd6ddbe1bcf284dc33278a85 (patch)
tree8b8476743a269fcc11eef4282ec17aa319f39bdf /usr.sbin/pkg_install/lib
parent15c2e6abe1077ce1253f9b454abea9af811f2984 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index cf43c6cada9b..0eb0198da26d 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: file.c,v 1.10.4.1 1995/08/30 07:49:58 jkh Exp $";
+static const char *rcsid = "$Id: file.c,v 1.10.4.2 1995/10/09 11:16:28 jkh Exp $";
#endif
/*
@@ -267,12 +267,6 @@ fileGetURL(char *base, char *spec)
tpid = fork();
if (!tpid) {
dup2(fd, 0); close(fd);
- if (DebugFD != -1)
- dup2(DebugFD, 2);
- else {
- close(2);
- dup2(open("/dev/null", O_WRONLY), 2);
- }
i = execl("tar", "tar", isDebug() ? "-xvf" : "-xf", "-", 0);
if (isDebug())
msgDebug("tar command returns %d status\n", i);