Removed incorrect process name from list, enable --full as it is required for matching jitterentropy-rngd

This commit is contained in:
Michael Boelen 2020-03-23 16:13:39 +01:00
parent dcddfdb6cc
commit 7bba7bd4af
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04

View File

@ -230,8 +230,9 @@
if [ ${SKIPTEST} -eq 0 ]; then if [ ${SKIPTEST} -eq 0 ]; then
LogText "Test: looking for software pseudo random number generators" LogText "Test: looking for software pseudo random number generators"
FOUND="" FOUND=""
for SERVICE in audio-entropyd havegd haveged jitterentropy-rngd; do for SERVICE in audio-entropyd haveged jitterentropy-rngd; do
if IsRunning "${SERVICE}"; then # Using --full as jitterentropy-rngd would otherwise not match
if IsRunning --full "${SERVICE}"; then
FOUND="${FOUND} ${SERVICE}" FOUND="${FOUND} ${SERVICE}"
fi fi
done done