google-chrome: remove `--no-sandbox` option while starting the browser

Since the container now has the `SYS_ADMIN` capability, google-chrome can
now start without the `--no-sandbox` option.
pull/3/merge
Sameer Naik 9 years ago
parent 1ca8ca76c0
commit 600f992fc6

@ -41,13 +41,6 @@ case "$1" in
--gecos 'Anonymous' anonymous
fi
extra_opts=
case "$1" in
google-chrome|google-chrome-stable)
extra_opts="--no-sandbox"
;;
esac
# launch application as anonymous
cd /home/anonymous
exec sudo -u anonymous -H PULSE_SERVER=/run/pulse/native $@ ${extra_opts}

Loading…
Cancel
Save