Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst If there is no files to delete, return...



details:   https://anonhg.NetBSD.org/src/rev/dd7bdfd0d652
branches:  trunk
changeset: 471893:dd7bdfd0d652
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Apr 14 12:47:27 1999 +0000

description:
If there is no files to delete, return 1 (success), not 0.

diffstat:

 distrib/utils/sysinst/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8844ea189e3a -r dd7bdfd0d652 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Wed Apr 14 11:53:43 1999 +0000
+++ b/distrib/utils/sysinst/util.c      Wed Apr 14 12:47:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.37 1999/04/13 20:17:48 bouyer Exp $ */
+/*     $NetBSD: util.c,v 1.38 1999/04/14 12:47:27 bouyer Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -640,7 +640,7 @@
                            "obsolete file\n", current->name, current->type);
        }
        if (head == NULL)
-               return 0;
+               return 1;
 #if 0
        /* XXX doesn't work, too many files printed ! */
        msg_display(MSG_deleting_files);



Home | Main Index | Thread Index | Old Index