diff options
author | Greg White | 2018-11-24 22:04:38 -0500 |
---|---|---|
committer | Greg White | 2018-11-24 22:04:38 -0500 |
commit | c986d44cd1edf45acaf02a1e24e650950ac49367 (patch) | |
tree | d6f3c09d06ecf37035eac4aa6030aed2e2287d43 /brave-dev-bin.sh | |
parent | a8699900dcdb6e9763fe7c44c0d4658db0135db4 (diff) | |
download | aur-c986d44cd1edf45acaf02a1e24e650950ac49367.tar.gz |
Relax sandbox check
Diffstat (limited to 'brave-dev-bin.sh')
-rw-r--r-- | brave-dev-bin.sh | 2 |
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 |