Date: Tue, 6 Dec 2005 05:27:11 +0000 (UTC) From: Yar Tikhiy <yar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc.subr Message-ID: <200512060527.jB65RBuv097473@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512060527.jB65RBuv097473>