mirror of
https://github.com/hanzoai/docker-github-actions-runner.git
synced 2026-09-30 21:42:55 +00:00
committed by
GitHub
co-authored by
myoung34
parent
845c8560f2
commit
41e804d8f3
@@ -139,7 +139,6 @@ if [[ ${_RUN_AS_ROOT} == "true" ]]; then
|
||||
echo "ERROR: RUN_AS_ROOT env var is set to true but the user has been overridden and is not running as root, but UID '$(id -u)'"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
else
|
||||
[[ $(id -u) -eq 0 ]] && ( /usr/sbin/gosu runner "$@" ) || ( "$@" )
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user