]> granicus.if.org Git - pdns/commitdiff
make very sure we don't keel over if something goes wrong polling security status...
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 23 Oct 2014 17:28:36 +0000 (19:28 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 28 Oct 2014 12:46:31 +0000 (13:46 +0100)
pdns/common_startup.cc

index 824f8e8fd1eae403fd6eb1386ea7e4c22c5b6202..656efe615d351fe0bd0bc868197668f0fb3f22a2 100644 (file)
@@ -413,7 +413,10 @@ void mainthread()
 
   for(;;) {
     sleep(1800);
-    doSecPoll(false);
+    try {
+      doSecPoll(false);
+    }
+    catch(...){}
   }
   
   L<<Logger::Error<<"Mainthread exiting - should never happen"<<endl;