@@ -4774,7 +4774,7 @@ function install_onerng {
fi
# Check the hash
- hash=$(sha256sum $ONERNG_PACKAGE)
+ hash=$(sha256sum $ONERNG_PACKAGE | awk -F ' ' '{print $1}')
if [[ $hash != $ONERNG_PACKAGE_HASH ]]; then
echo "OneRNG package: $ONERNG_PACKAGE"
echo "Hash does not match. This could indicate that the package has been tampered with."