14 lines
218 B
Bash
Executable File

#! /bin/bash
BIN=/usr/share/codium/bin/codium
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:\t0' /proc/1/status; then
${BIN} \
"$@"
else
${BIN} \
--no-sandbox \
"$@"
fi