summarylogtreecommitdiffstats
path: root/brave-dev-bin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'brave-dev-bin.sh')
-rw-r--r--brave-dev-bin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/brave-dev-bin.sh b/brave-dev-bin.sh
index 0b06ccc7deb9..de1118489239 100644
--- a/brave-dev-bin.sh
+++ b/brave-dev-bin.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
-if [[ ! (-r /proc/sys/kernel/unprivileged_userns_clone && $(< /proc/sys/kernel/unprivileged_userns_clone) == 1 && -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ) ]]; then
+if [[ ! -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ]]; then
>&2 echo "User namespaces are not detected as enabled on your system, brave will run with the sandbox disabled"
FLAG="--no-sandbox"
fi