From owner-cvs-src@FreeBSD.ORG Wed Apr 2 14:13:56 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6B4337B401; Wed, 2 Apr 2003 14:13:56 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 649E743F75; Wed, 2 Apr 2003 14:13:56 -0800 (PST) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h32MDu0U035277; Wed, 2 Apr 2003 14:13:56 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h32MDu1p035276; Wed, 2 Apr 2003 14:13:56 -0800 (PST) Message-Id: <200304022213.h32MDu1p035276@repoman.freebsd.org> From: Robert Watson Date: Wed, 2 Apr 2003 14:13:56 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/reboot reboot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2003 22:13:57 -0000 rwatson 2003/04/02 14:13:56 PST FreeBSD src repository Modified files: sbin/reboot reboot.c Log: When kill(-1) returns ESRCH, it could be because the current process doesn't have a process group, which can occur if you're working with a custom init that doesn't set up a full tty context. Rather than refusing to reboot, ignore ESRCH from the kill attempt in reboot(8). Revision Changes Path 1.18 +1 -1 src/sbin/reboot/reboot.c