mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-21 00:23:05 +00:00
Fix for init.d/zerotier-one (again)
This commit is contained in:
@ -47,7 +47,8 @@ fi
|
|||||||
|
|
||||||
running=0
|
running=0
|
||||||
if [ "$pid" -gt 0 ]; then
|
if [ "$pid" -gt 0 ]; then
|
||||||
if diff "/proc/$pid/exe" "$zthome/zerotier-one" >>/dev/null 2>&1; then
|
exepath=`readlink /proc/$pid/exe 2>/dev/null | grep zerotier-one`
|
||||||
|
if [ -n "$exepath" ]; then
|
||||||
running=1
|
running=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user