Verified Commit 6cf4e6ea authored by boklm's avatar boklm
Browse files

Bug 31968: Don't fail if /proc/cpuinfo is not readable

We use /proc/cpuinfo to check for SSE2 support, however on some systems
it isn't readable by ordinary users, so we just assume that SSE2 is
available in this case.
parent 8b1f9f1e
......@@ -96,7 +96,7 @@ if [ "`id -u`" -eq 0 ]; then
exit 1
if ! grep -q '^flags\s*:.* sse2' /proc/cpuinfo; then
if test -r /proc/cpuinfo && ! grep -q '^flags\s*:.* sse2' /proc/cpuinfo; then
complain "Tor Browser requires a CPU with SSE2 support. Exiting."
exit 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment