Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 11:20:26 GMT
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        freebsd-rc@FreeBSD.org
Subject:   Re: conf/94377 : [patch] /etc/rc.d/sshd improperly tests random dev state
Message-ID:  <200606081120.k58BKQFj026620@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/94377; it has been noted by GNATS.

From: Rostislav Krasny <rosti.bsd@gmail.com>
To: Florent Thoumie <flz@FreeBSD.org>, Doug White <dwhite@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: conf/94377 : [patch] /etc/rc.d/sshd improperly tests random dev
 state
Date: Thu, 8 Jun 2006 11:55:46 +0300

 I've seen that patch just today, when it is already MFCed. I think it
 could be simpler. Instead of
 
 [ "x${seeded}" != "x" ] && [ ${seeded} -eq 0 ]
 
 you can write just
 
 [ "${seeded}" = "0" ]
 
 and it will be still correct against sysctl failing and returning an
 empty string.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606081120.k58BKQFj026620>