Don't write in errorlog after normal termination

This commit is contained in:
Michiel Broek
2006-01-25 19:08:32 +00:00
parent e2312db257
commit 8a63b479e4
2 changed files with 4 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ void die(int onsig)
signal(onsig, SIG_IGN);
if (onsig)
WriteError("Terminated on signal %d", onsig);
Syslog('+', "Terminated on signal %d", onsig);
if (!do_quiet) {
mbse_colour(LIGHTGRAY, BLACK);