Browse Source

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

Con Kolivas 14 years ago
parent
commit
53e05c6413
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util.c

+ 1 - 1
util.c

@@ -124,7 +124,7 @@ void vapplog(int prio, const char *fmt, va_list ap)
 			tm.tm_sec,
 			tm.tm_sec,
 			fmt);
 			fmt);
 		/* Only output to stderr if it's not going to the screen as well */
 		/* 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_list apc;
 
 
 			va_copy(apc, ap);
 			va_copy(apc, ap);