diff --git a/install.sh b/install.sh index 8dd5660..4555ee8 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/sh # quick install (and run) script for upfast using systemd -if [ $EUID -ne 0] +if [ "$(id -u)" -ne 0 ] then echo "Please run as root" exit 1