Don't enable device events when there is no valid filedescriptor.
[tinc] / src / cygwin /
drwxr-xr-x   ..
-rw-r--r-- 6789 device.c