diff options
-rw-r--r-- | lib/password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/password.php b/lib/password.php index faa5eaa..64cac9e 100644 --- a/lib/password.php +++ b/lib/password.php @@ -96,7 +96,7 @@ if (!defined('PASSWORD_DEFAULT')) { $buffer_valid = true; } } - if (!$buffer_valid && is_readable('/dev/urandom')) { + if (!$buffer_valid && @is_readable('/dev/urandom')) { $f = fopen('/dev/urandom', 'r'); $read = strlen($buffer); while ($read < $raw_salt_len) { |