i hate ids
This commit is contained in:
parent
b622e351cc
commit
602a83ed25
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if (( $EUID != 0 )); then
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
echo "Please run as root"
|
echo "Please run as root"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue