accept arguments to TBB

This commit is contained in:
Pig Monkey 2016-06-04 14:15:16 -07:00
parent fa74a53c55
commit 7e730382e4

View file

@ -16,11 +16,11 @@ if [ $? -eq 0 ]; then
fi
# Attempt to run tor-browser-en.
$FIREJAIL $TBB
$FIREJAIL $TBB "$@"
# If it failed with exit code 139, set the PaX flags and run again.
if [ $? -eq 139 ]; then
echo 'setting PAX flags'
setfattr -n user.pax.flags -v "m" "$BROWSER"
$FIREJAIL $TBB
$FIREJAIL $TBB "$@"
fi