RedHat sshd.init script typo ?
Pekka Savola
pekkas at netcore.fi
Wed Nov 8 03:26:04 EST 2000
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