summaryrefslogtreecommitdiff
path: root/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thread.cpp')
-rw-r--r--thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread.cpp b/thread.cpp
index c0abfb7..37040b9 100644
--- a/thread.cpp
+++ b/thread.cpp
@@ -54,6 +54,7 @@ void ServerThread::Action()
// XXX move initial error handling to live.cpp
esyslog( "ERROR: live httpd server crashed: %s", ex.what() );
cerr << "HTTPD FATAL ERROR: " << ex.what() << endl;
+ cThread::EmergencyExit(true);
}
}