diff --git a/src/freedombone b/src/freedombone index 99bba613..ecb68d09 100755 --- a/src/freedombone +++ b/src/freedombone @@ -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."