aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/main.cc')
-rw-r--r--ncpd/main.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc
index 7b46449..e4abb00 100644
--- a/ncpd/main.cc
+++ b/ncpd/main.cc
@@ -169,6 +169,7 @@ main(int argc, char **argv)
iow.watch(1, 0);
if (a->hasFailed()) {
+ iow.watch(5, 0);
if (verbose)
cout << "ncp: restarting\n";
a->reset();