From 922a707e02ccd3f573e46fcf367b36809a3d45f6 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sat, 22 Apr 1995 00:59:33 +0000 Subject: [PATCH] Don't spew garbage into the packing list when PlistOnly and verbose are both on. Whoops! --- usr.sbin/pkg_install/create/perform.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 06d517e9242a..174abea83d6b 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: perform.c,v 1.16 1995/04/10 08:01:52 jkh Exp $"; +static const char *rcsid = "$Id: perform.c,v 1.17 1995/04/22 00:03:09 jkh Exp $"; #endif /* @@ -64,7 +64,7 @@ pkg_perform(char **pkgs) /* Stick the dependencies, if any, at the top */ if (Pkgdeps) { - if (Verbose) + if (Verbose && !PlistOnly) printf("Registering depends:"); while (Pkgdeps) { cp = strsep(&Pkgdeps, " \t\n"); @@ -74,7 +74,7 @@ pkg_perform(char **pkgs) printf(" %s", cp); } } - if (Verbose) + if (Verbose && !PlistOnly) printf(".\n"); } /* Slurp in the packing list */