diff --git a/deploy-tools.sh b/deploy-tools.sh index ea16f18..e87623b 100755 --- a/deploy-tools.sh +++ b/deploy-tools.sh @@ -1,6 +1,6 @@ #!/bin/sh -if (( $EUID != 0 )); then +if [ "$(id -u)" -eq 0 ]; then echo "Please run as root" exit fi