2024-02-13 17:54:48 -08:00

14 lines
217 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