mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +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.
|
# better in a ps listing.
|
||||||
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:$zthome
|
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."
|
echo "Init script must be called as root."
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue