summarylogtreecommitdiffstats
path: root/brave-dev-bin.sh
diff options
context:
space:
mode:
authorGreg White2018-11-24 22:04:38 -0500
committerGreg White2018-11-24 22:04:38 -0500
commitc986d44cd1edf45acaf02a1e24e650950ac49367 (patch)
treed6f3c09d06ecf37035eac4aa6030aed2e2287d43 /brave-dev-bin.sh
parenta8699900dcdb6e9763fe7c44c0d4658db0135db4 (diff)
downloadaur-c986d44cd1edf45acaf02a1e24e650950ac49367.tar.gz
Relax sandbox check
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