mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Log to the output file at any time with warnings and errors, instead of just when verbose mode is on.
This commit is contained in:
parent
5a64ebcca6
commit
53e05c6413
2
util.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user