diff options
author | jkh <jkh@FreeBSD.org> | 1999-05-14 14:29:50 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-05-14 14:29:50 +0000 |
commit | 10b41baa24ca6f7bb3a81be33c19bf99a4345afb (patch) | |
tree | 2607802e3879cc9470919c8cf35591a133a920f5 /release | |
parent | a495fcc3b27777847d2bb2765776c3296240e66f (diff) | |
download | FreeBSD-src-10b41baa24ca6f7bb3a81be33c19bf99a4345afb.zip FreeBSD-src-10b41baa24ca6f7bb3a81be33c19bf99a4345afb.tar.gz |
Be properly verbose.
Diffstat (limited to 'release')
-rw-r--r-- | release/sysinstall/package.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/sysinstall/package.c b/release/sysinstall/package.c index 3b0090d..11216c9 100644 --- a/release/sysinstall/package.c +++ b/release/sysinstall/package.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: package.c,v 1.71 1999/05/12 09:02:36 jkh Exp $ + * $Id: package.c,v 1.72 1999/05/14 12:15:34 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -160,7 +160,10 @@ package_extract(Device *dev, char *name, Boolean depended) dup2(DebugFD, 1); close(2); close(pfd[1]); - i = execl("/usr/sbin/pkg_add", "/usr/sbin/pkg_add", "-", 0); + if (isDebug()) + i = execl("/usr/sbin/pkg_add", "/usr/sbin/pkg_add", "-v", "-", 0); + else + i = execl("/usr/sbin/pkg_add", "/usr/sbin/pkg_add", "-", 0); if (isDebug()) msgDebug("pkg_add returns %d status\n", i); } |