mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-20 17:52:46 +00:00
Fix GitHub issue #45 - Linux install issues
This commit is contained in:
parent
54313212a4
commit
17c77da38f
@ -30,7 +30,7 @@ zthome=/var/lib/zerotier-one
|
||||
# better in a ps listing.
|
||||
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:$zthome
|
||||
|
||||
if [ "$UID" -ne 0 ]; then
|
||||
if [ "`id -u`" -ne 0 ]; then
|
||||
echo "Init script must be called as root."
|
||||
exit 4
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user