RedHat sshd.init script typo ?

Ben Lindstrom mouring at pconline.com
Wed Nov 8 03:39:55 EST 2000


<nod>  Same problem existed in sshd.init-5.x also.

Both have been fixed now.

Thanks.

- Ben
On Tue, 7 Nov 2000, Pekka Savola wrote:

> On Tue, 7 Nov 2000, Jarno Huuskonen wrote:
> >
> > I noticed one small possible error in the
> > openssh-2.3.0p1/contrib/redhat/sshd.init script.
> > In the stop option:
> >         stop)
> >                 echo -n "Shutting down sshd: "
> >                 if [ -f $PID_FILE ] ; then
> >                         killproc sshd
> >                         [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
> >                 fi
> >                 echo
> >
> > Shouldn't there be RETVAL=$? after killproc sshd ?
> 
> Yeah, RETVAL seems to have been omitted by mistake.  The problem has been
> there for a while now.  Luckily enough, sshd won't break too badly for it.
> :-/
> 
> -- 
> Pekka Savola                 "Tell me of difficulties surmounted,
> Pekka.Savola at netcore.fi      not those you stumble over and fall"
> 
> 






More information about the openssh-unix-dev mailing list