diff options
Diffstat (limited to 'ext/installfiles/linux/init.d/zerotier-one')
-rwxr-xr-x | ext/installfiles/linux/init.d/zerotier-one | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/installfiles/linux/init.d/zerotier-one b/ext/installfiles/linux/init.d/zerotier-one index df5a38cb..e253a864 100755 --- a/ext/installfiles/linux/init.d/zerotier-one +++ b/ext/installfiles/linux/init.d/zerotier-one @@ -47,7 +47,7 @@ fi running=0 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 fi fi |