Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/pkg_install/add Pull up revision 1.15 (request...



details:   https://anonhg.NetBSD.org/src/rev/c5227829e9cc
branches:  netbsd-1-4
changeset: 470819:c5227829e9cc
user:      he <he%NetBSD.org@localhost>
date:      Mon Jul 31 18:18:24 2000 +0000

description:
Pull up revision 1.15 (requested by hubertf):
  Update pkg_install tools by bringing in bug fixes and feature
  additions since the last release.  Fixes PR#10083 and PR#10687
  and a number of problems not formally reported.

diffstat:

 usr.sbin/pkg_install/add/main.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 2ffd4e852f86 -r c5227829e9cc usr.sbin/pkg_install/add/main.c
--- a/usr.sbin/pkg_install/add/main.c   Mon Jul 31 18:18:21 2000 +0000
+++ b/usr.sbin/pkg_install/add/main.c   Mon Jul 31 18:18:24 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: main.c,v 1.9.2.4 2000/01/31 20:56:45 he Exp $  */
+/*     $NetBSD: main.c,v 1.9.2.5 2000/07/31 18:18:24 he Exp $  */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char *rcsid = "from FreeBSD Id: main.c,v 1.16 1997/10/08 07:45:43 charnier Exp";
 #else
-__RCSID("$NetBSD: main.c,v 1.9.2.4 2000/01/31 20:56:45 he Exp $");
+__RCSID("$NetBSD: main.c,v 1.9.2.5 2000/07/31 18:18:24 he Exp $");
 #endif
 #endif
 
@@ -197,7 +197,7 @@
        if ((error = pkg_perform(&pkgs)) != 0) {
                if (Verbose)
                        warnx("%d package addition(s) failed", error);
-               return error;
-       } else
-               return 0;
+               exit(1);
+       }
+       exit(0);
 }



Home | Main Index | Thread Index | Old Index