Fix for part one of GitHub issue #118

This commit is contained in:
Adam Ierymenko 2014-10-13 08:11:19 -07:00
parent 6316011024
commit c7c545bf6c

View File

@ -47,7 +47,7 @@ fi
running=0 running=0
if [ "$pid" -gt 0 ]; then if [ "$pid" -gt 0 ]; then
if [ -n "`ls -l /proc/$pid/exe | grep -F zerotier-one`" ]; then if diff "/proc/$pid/exe" "$zthome/zerotier-one" >>/dev/null 2>&1; then
running=1 running=1
fi fi
fi fi