only write to the watchdog if the fd is valid
authorJohn Crispin <blogic@openwrt.org>
Sun, 14 Dec 2014 21:12:45 +0000 (22:12 +0100)
committerJohn Crispin <blogic@openwrt.org>
Sun, 14 Dec 2014 21:28:55 +0000 (22:28 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>

No differences found