mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Fix GitHub issue #45 - Linux install issues
This commit is contained in:
parent
54313212a4
commit
17c77da38f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue