aboutsummaryrefslogtreecommitdiff
path: root/hack/check_root.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-16 09:55:56 +0200
committerGitHub <noreply@github.com>2022-09-16 09:55:56 +0200
commitccee741973a182f65af4e58302c9a76107974f0a (patch)
treedf1c78b6ad1f044b394862629c08c7a207d67a09 /hack/check_root.sh
parent0e3a0ec7d485a81b7ca38997e93bea69ad95d79a (diff)
parentcfbc4aaeb50b5fb12ec9363328bb08fc459a1067 (diff)
downloadpodman-ccee741973a182f65af4e58302c9a76107974f0a.tar.gz
podman-ccee741973a182f65af4e58302c9a76107974f0a.tar.bz2
podman-ccee741973a182f65af4e58302c9a76107974f0a.zip
Merge pull request #15829 from edsantiago/shlint
Cleanup: fix problems reported by shell lint
Diffstat (limited to 'hack/check_root.sh')
-rwxr-xr-xhack/check_root.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/check_root.sh b/hack/check_root.sh
index 1f53887ff..2489a4edd 100755
--- a/hack/check_root.sh
+++ b/hack/check_root.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
if ! [ $(id -u) = 0 ]; then
- echo "Please run as root! '$@' requires root privileges."
+ echo "Please run as root! '$*' requires root privileges."
exit 1
fi