Use access() instead of stat() for checking whether scripts exist.
[tinc] / doc / sample-config / hosts /
drwxr-xr-x   ..
-rw-r--r-- 425 alpha
-rw-r--r-- 466 beta