From owner-cvs-src@FreeBSD.ORG Tue Dec 6 05:27:12 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 5B05316A41F; Tue, 6 Dec 2005 05:27:12 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0D2443D69; Tue, 6 Dec 2005 05:27:11 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jB65RBKm097474; Tue, 6 Dec 2005 05:27:11 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jB65RBuv097473; Tue, 6 Dec 2005 05:27:11 GMT (envelope-from yar) Message-Id: <200512060527.jB65RBuv097473@repoman.freebsd.org> From: Yar Tikhiy Date: Tue, 6 Dec 2005 05:27:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/etc rc.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 06 Dec 2005 05:27:12 -0000 yar 2005-12-06 05:27:11 UTC FreeBSD src repository Modified files: etc rc.subr Log: Since rc.subr is a library of functions, it should not use exit every now and then. It is up to the caller to choose a proper action upon an error condition. Therefore, use return, not exit, except for some special cases. Consistently return 1 to indicate an error. Submitted by: sem (initially) Reviewed by: freebsd-rc (silence) MFC after: 2 weeks Revision Changes Path 1.46 +6 -6 src/etc/rc.subr