{
// Raw sockets are locked down by Unix operating systems to prevent
// malware and security holes, thus it requires root access to use it.
- GlobalLogger.error() << "Pingcheck must run as root (" << ex.what() << ")" << endl;
+ GlobalLogger.error() << "Error creating Pinger: " << ex.what()
+ << " (you may have to run pingcheck as root)" << endl;
exit( EXIT_FAILURE );
}