aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-01-03 22:59:27 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-01-03 22:59:27 +0000
commita9758dac1a5f207085e6acb5ae80db83d3274110 (patch)
tree94b159823287a3819ff5685c6e7c1828a7461bd7 /usr.sbin/pkg_install
parent40b27503d86a9aef95628591f05d15f517008fe0 (diff)
downloadsrc-a9758dac1a5f207085e6acb5ae80db83d3274110.tar.gz
src-a9758dac1a5f207085e6acb5ae80db83d3274110.zip
Redirect stdout from mtree to /dev/null; we don't really need to know
the list of directories being created when we install a package.
Notes
Notes: svn path=/head/; revision=55367
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/add/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index fcf8db8a1a0d..a8bb50004576 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -363,9 +363,9 @@ pkg_do(char *pkg)
printf("Running mtree for %s..\n", PkgName);
p = find_plist(&Plist, PLIST_CWD);
if (Verbose)
- printf("mtree -U -f %s -d -e -p %s\n", MTREE_FNAME, p ? p->name : "/");
+ printf("mtree -U -f %s -d -e -p %s >/dev/null\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 : "/"))
+ if (vsystem("/usr/sbin/mtree -U -f %s -d -e -p %s >/dev/null", MTREE_FNAME, p ? p->name : "/"))
warnx("mtree returned a non-zero status - continuing");
}
unlink(MTREE_FNAME);