We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
AGENT_ALLOW_RUNASROOT
RUNNER_ALLOW_RUNASROOT
1 parent d778f13 commit f3aedd8Copy full SHA for f3aedd8
src/Misc/layoutroot/config.sh
@@ -3,7 +3,7 @@
3
user_id=`id -u`
4
5
# we want to snapshot the environment of the config user
6
-if [ $user_id -eq 0 -a -z "$AGENT_ALLOW_RUNASROOT" ]; then
+if [ $user_id -eq 0 -a -z "$RUNNER_ALLOW_RUNASROOT" ]; then
7
echo "Must not run with sudo"
8
exit 1
9
fi
src/Misc/layoutroot/run.sh
@@ -2,7 +2,7 @@
2
# Validate not sudo
echo "Must not run interactively with sudo"
0 commit comments