We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8632c4 + 1eee12b commit 6271c2eCopy full SHA for 6271c2e
debian.sh
@@ -19,7 +19,7 @@ REPO_DEB_URL="http://apt.puppetlabs.com/puppetlabs-release-${DISTRIB_CODENAME}.d
19
#--------------------------------------------------------------------
20
# NO TUNABLES BELOW THIS POINT
21
22
-if [ "$EUID" != "0" ]; then
+if [ "$(id -u)" != "0" ]; then
23
echo "This script must be run as root." >&2
24
exit 1
25
fi
0 commit comments