cvs commit: src/etc rc.subr
Yar Tikhiy
yar at FreeBSD.org
Mon Dec 5 21:27:12 PST 2005
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
More information about the cvs-src
mailing list