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

This commit is contained in:
christos 2005-03-13 01:48:54 +00:00
parent 49bc7920f9
commit a646be989c
1 changed files with 3 additions and 2 deletions

View File

@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1989, 1992, 1993, 1994\n\
#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 @@ doit(struct sockaddr *fromp)
"wait pid=%d failed %m", pid);
exit(1);
}
exit(0);
}
}
#endif