From: John Crispin Date: Sun, 14 Dec 2014 21:12:45 +0000 (+0100) Subject: only write to the watchdog if the fd is valid X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=61cfe0d093056b85a311f06d44ac149e5dbb4d1a;hp=61cfe0d093056b85a311f06d44ac149e5dbb4d1a only write to the watchdog if the fd is valid Signed-off-by: John Crispin ---