Commit 53e05c6413d05f4724d88f028d52de5907005cfa

Con Kolivas 2011-07-28T19:55:54

Log to the output file at any time with warnings and errors, instead of just when verbose mode is on.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index d8448b9..957a08b 100644
--- a/util.c
+++ b/util.c
@@ -124,7 +124,7 @@ void vapplog(int prio, const char *fmt, va_list ap)
 			tm.tm_sec,
 			fmt);
 		/* Only output to stderr if it's not going to the screen as well */
-		if (opt_log_output && !isatty(fileno((FILE *)stderr))) {
+		if (!isatty(fileno((FILE *)stderr))) {
 			va_list apc;
 
 			va_copy(apc, ap);