CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2011/06/20 15:26:27
Modified files: etc/rc.d : rc.subr Log message: Refactoring for simplicity, no functional change: * Instead of nesting subshells, perform a linear series of operations and bail out as soon as one of them fails. * Rename rc_print to rc_exit, let it calculate the exit code itself and let it exit, considerably simplifying error handling; new name suggested by sthen@. OK ajacoutot@ sthen@