2023-04-01 18:47:49 -07:00

14 lines
220 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: 0' /proc/1/status; then
${BIN} \
"$@"
else
${BIN} \
--no-sandbox \
"$@"
fi