summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xetc/rc.d/sshd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index 0c18bbd..1f4078c 100755
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -25,7 +25,7 @@ user_reseed()
{
(
seeded=`sysctl -n kern.random.sys.seeded 2>/dev/null`
- if [ "${seeded}" != "" ] ; then
+ if [ "x${seeded}" != "x" ] && [ ${seeded} -eq 0 ] ; then
warn "Setting entropy source to blocking mode."
echo "===================================================="
echo "Type a full screenful of random junk to unblock"
OpenPOWER on IntegriCloud