fix(fips): wrong error message

When /dev/urandom cannot be created, the error message displays /dev/random instead.
master
Antonio Alvarez Feijoo 2021-12-14 12:14:41 +01:00 committed by Jóhann B. Guðmundsson
parent bc4f196f98
commit 7f10c483b6
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ install() {
}
[ -c "${initdir}"/dev/urandom ] || mknod "${initdir}"/dev/urandom c 1 9 \
|| {
dfatal "Cannot create /dev/random"
dfatal "Cannot create /dev/urandom"
dfatal "To create an initramfs with fips support, dracut has to run as root"
return 1
}