diff --git a/log.c b/log.c index 06e1e5a8..9d63e5be 100644 --- a/log.c +++ b/log.c @@ -1,4 +1,4 @@ -/* $Id: log.c,v 1.2 2007-07-25 23:13:18 nicm Exp $ */ +/* $Id: log.c,v 1.3 2007-09-26 18:55:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -56,7 +56,7 @@ log_open(FILE *f, int facility, int level) void log_close(void) { - if (log_stream != NULL) + if (log_stream != NULL && log_stream != stderr) /* XXX */ fclose(log_stream); log_enabled = 0;