RedHat sshd.init script typo ?

Mate Wierdl mw at moni.msci.memphis.edu
Wed Nov 8 06:32:01 EST 2000


On Tue, Nov 07, 2000 at 09:57:48AM -0700, Smith, Donald  wrote:
> Why bother assigning RETVAL then comparing it to 0. How about a comment
> explaining $? 

Initscripts are not sh intros.  But the point is that RH uses RETVAL
in *every* initscript---and the value stored is used in

return $RETVAL

which is then used by various initfunctions to display the exit status
of services with text and color.


Mate





More information about the openssh-unix-dev mailing list