Source-Changes-HG archive

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

[src/trunk]: src/libexec/rshd Handle the regular case too, not only the error...



details:   https://anonhg.NetBSD.org/src/rev/de4a3c6f5dc7
branches:  trunk
changeset: 574802:de4a3c6f5dc7
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 13 01:48:54 2005 +0000

description:
Handle the regular case too, not only the error case.

diffstat:

 libexec/rshd/rshd.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 095a08976c0a -r de4a3c6f5dc7 libexec/rshd/rshd.c
--- a/libexec/rshd/rshd.c       Sun Mar 13 01:43:52 2005 +0000
+++ b/libexec/rshd/rshd.c       Sun Mar 13 01:48:54 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rshd.c,v 1.39 2005/03/12 18:23:30 christos Exp $       */
+/*     $NetBSD: rshd.c,v 1.40 2005/03/13 01:48:54 christos Exp $       */
 
 /*
  * Copyright (C) 1998 WIDE Project.
@@ -69,7 +69,7 @@
 #if 0
 static char sccsid[] = "@(#)rshd.c     8.2 (Berkeley) 4/6/94";
 #else
-__RCSID("$NetBSD: rshd.c,v 1.39 2005/03/12 18:23:30 christos Exp $");
+__RCSID("$NetBSD: rshd.c,v 1.40 2005/03/13 01:48:54 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -630,6 +630,7 @@
                                            "wait pid=%d failed %m", pid);
                                exit(1);
                        }
+                       exit(0);
                }
        }
 #endif



Home | Main Index | Thread Index | Old Index