From 40321c3f44af5abd5032155a14a2f45258c0c8e1 Mon Sep 17 00:00:00 2001 From: mycroft Date: Fri, 13 Aug 2004 17:11:49 +0000 Subject: [PATCH] Remove a completely gratuitous 30 delay if you enter the wrong shell path. --- sbin/init/init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sbin/init/init.c b/sbin/init/init.c index 9da2130d3382..3c1e3317941d 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -1,4 +1,4 @@ -/* $NetBSD: init.c,v 1.64 2004/06/06 01:42:20 christos Exp $ */ +/* $NetBSD: init.c,v 1.65 2004/08/13 17:11:49 mycroft Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n" #if 0 static char sccsid[] = "@(#)init.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: init.c,v 1.64 2004/06/06 01:42:20 christos Exp $"); +__RCSID("$NetBSD: init.c,v 1.65 2004/08/13 17:11:49 mycroft Exp $"); #endif #endif /* not lint */ @@ -654,7 +654,6 @@ single_user(void) #endif /* ALTSHELL */ (void)execv(INIT_BSHELL, argv); emergency("can't exec %s for single user: %m", INIT_BSHELL); - (void)sleep(STALL_TIMEOUT); _exit(1); }