#!/bin/bash

BIN=/usr/bin/chromium-browser

# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:	0' /proc/1/status; then
  ${BIN} --password-store=basic "$@"
else
  ${BIN} --password-store=basic --no-sandbox --test-type "$@"
fi
