aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-08-01 12:13:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-08-01 12:13:20 +0000
commit7204896f94b789f23828a6f9495d8c437b94920c (patch)
treef8d1f52b21a2539921842568f670783593614646 /usr.sbin/pkg_install
parent4bd2df3a33f71f4c9d57dbcff74ee9d699689e5b (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index 8f69b966e612..c268ce226ff7 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.21 1996/03/12 06:12:43 jkh Exp $";
+static const char *rcsid = "$Id: file.c,v 1.22 1996/06/20 18:33:51 jkh Exp $";
#endif
/*
@@ -255,8 +255,6 @@ fileGetURL(char *base, char *spec)
if (!tpid) {
dup2(fileno(ftp), 0);
i = execl("/usr/bin/tar", "tar", Verbose ? "-xzvf" : "-xzf", "-", 0);
- if (Verbose)
- printf("tar command returns %d status\n", i);
exit(i);
}
else {
@@ -264,6 +262,8 @@ fileGetURL(char *base, char *spec)
fclose(ftp);
tpid = waitpid(tpid, &pstat, 0);
+ if (Verbose)
+ printf("tar command returns %d status\n", WEXITSTATUS(pstat));
}
}
else