summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-07-14 11:56:32 +0200
committerJohn Crispin <blogic@openwrt.org>2013-07-14 11:56:32 +0200
commit36d79a90c28ac9d655ccd8261b3ac0b497a5aec1 (patch)
treef0f59d33a833809e3414dbc91f0d6050a593734c /main.c
parent434865f6f870f89571d7f2f5fa5690d16d6fb1d9 (diff)
downloadunitd-36d79a90c28ac9d655ccd8261b3ac0b497a5aec1.tar
unitd-36d79a90c28ac9d655ccd8261b3ac0b497a5aec1.zip
the cloexec logic of the watchdog was broken
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a1b4fdb..49d85f4 100644
--- a/main.c
+++ b/main.c
@@ -40,7 +40,7 @@ static int main_procd_init(int argc, char **argv)
procd_signal_preinit();
procd_early();
debug_init();
- watchdog_init();
+ watchdog_init(1);
system("/sbin/kmodloader /etc/modules-boot.d/");
uloop_init();
hotplug("/etc/hotplug-preinit.json");