mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Always log warnings and error messages.
This commit is contained in:
parent
ed7e5bf9a3
commit
0f351d8466
2
util.c
2
util.c
@ -70,7 +70,7 @@ void applog(int prio, const char *fmt, ...)
|
||||
#else
|
||||
if (0) {}
|
||||
#endif
|
||||
else if (opt_log_output) {
|
||||
else if (opt_log_output || prio == LOG_WARNING || prio == LOG_ERR) {
|
||||
char *f;
|
||||
int len;
|
||||
struct timeval tv = { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user