Skip to content

Commit 15f5c63

Browse files
committed
scripts(run-docker): add run0 as privilege escalation fallback
1 parent 3ce5558 commit 15f5c63

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/run-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ _detect_sudo() {
3838
echo "sudo"
3939
elif command -v doas &>/dev/null; then
4040
echo "doas"
41+
elif command -v run0 &>/dev/null; then
42+
echo "run0"
4143
else
4244
echo "Error: This script must be run as root or with sudo/doas available in PATH" >&2
4345
exit 1

0 commit comments

Comments
 (0)