aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-04-27 11:33:08 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-04-27 11:33:08 +0000
commit278ea7ecee5f772c790860846e22fe737047837b (patch)
treefa500eb338925e02bdea293845a264bcfd094ab4
parent639fb258f9214b1274b4661f548416592b406028 (diff)
Notes
-rw-r--r--usr.sbin/pkg_install/add/perform.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index cbf1e7087270..45da1cba5c8e 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.21 1995/04/26 07:43:30 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.22 1995/04/26 15:06:26 jkh Exp $";
#endif
/*
@@ -318,14 +318,9 @@ pkg_do(char *pkg)
if (Verbose)
printf("mtree -u -f %s -d -e -p %s\n", MTREE_FNAME,
p ? p->name : "/");
- if (!Fake) {
- if (vsystem("/usr/sbin/mtree -u -f %s -d -e -p %s",
- MTREE_FNAME, p ? p->name : "/")) {
- perror("error in the execution of mtree");
- unlink(MTREE_FNAME);
- goto fail;
- }
- }
+ if (!Fake)
+ vsystem("/usr/sbin/mtree -u -f %s -d -e -p %s",
+ MTREE_FNAME, p ? p->name : "/"))
unlink(MTREE_FNAME);
}