Skip to content
Snippets Groups Projects
Commit b8569b2b authored by Randy Kunkee's avatar Randy Kunkee
Browse files

Grep for PRNG message in $SEARCHOUT to make sure error is caught.

parent 84583b64
Branches
Tags
No related merge requests found
......@@ -41,7 +41,18 @@ cat $SEARCHOUT
if test $RC != 0 ; then
echo ">>>>> Test failed"
else
echo ">>>>> Test succeeded"
if grep PRNG $SEARCHOUT; then
cat << EOF
You need a pseudo random number generator, such as a /dev/urandom,
/dev/urandom, or an entropy gathering daemon. Alternatively, you
can use openssl to generate a $HOME/.rnd file.
See www.openssl.org for more details on how to do this.
EOF
RC=-1
else
echo ">>>>> Test succeeded"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment