summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/add/main.c')
-rw-r--r--usr.sbin/pkg_install/add/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/main.c b/usr.sbin/pkg_install/add/main.c
index 9538d7f..9f23c98 100644
--- a/usr.sbin/pkg_install/add/main.c
+++ b/usr.sbin/pkg_install/add/main.c
@@ -1,5 +1,5 @@
#ifndef lint
-static char *rcsid = "$Id: main.c,v 1.13 1997/02/22 16:09:18 peter Exp $";
+static char *rcsid = "$Id: main.c,v 1.14 1997/03/31 05:10:45 imp Exp $";
#endif
/*
@@ -133,7 +133,7 @@ main(int argc, char **argv)
usage(prog_name, "Missing package name(s)");
else if (ch > 1 && AddMode == MASTER)
usage(prog_name, "Only one package name may be specified with master mode");
- if ((err = pkg_perform(pkgs)) != NULL) {
+ if ((err = pkg_perform(pkgs)) != 0) {
if (Verbose)
fprintf(stderr, "%d package addition(s) failed.\n", err);
return err;
OpenPOWER on IntegriCloud