}
catch(const PDNSException &AE) {
L<<Logger::Error<<"Distributor caught fatal exception: "<<AE.reason<<endl;
- exit(1);
+ _exit(1);
}
catch(...) {
L<<Logger::Error<<"Caught an unknown exception when creating backend, probably"<<endl;
- exit(1);
+ _exit(1);
}
}
if (n<1) {
L<<Logger::Error<<"Asked for fewer than 1 threads, nothing to do"<<endl;
- exit(1);
+ _exit(1);
}
L<<Logger::Warning<<"About to create "<<n<<" backend threads for UDP"<<endl;
}
catch(const PDNSException &AE) {
L<<Logger::Error<<"Distributor caught fatal exception: "<<AE.reason<<endl;
- exit(1);
+ _exit(1);
}
catch(...) {
L<<Logger::Error<<"Caught an unknown exception when creating backend, probably"<<endl;
- exit(1);
+ _exit(1);
}
return 0;
}