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
1 changed files with 3 additions and 2 deletions

View File

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