summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/nvmutil/nvmutil.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 39a30f3d..3b289deb 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -1136,9 +1136,6 @@ rhex(void)
if (use_prng)
return fallback_rand();
- if (urandom_fd < 0)
- err(ECANCELED, "Your operating system has no /dev/[u]random");
-
if (!n) {
n = sizeof(rnum);
if (rw_file_exact(urandom_fd, rnum, n, 0, LESEN) == -1)