mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +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
|
#else
|
||||||
if (0) {}
|
if (0) {}
|
||||||
#endif
|
#endif
|
||||||
else if (opt_log_output) {
|
else if (opt_log_output || prio == LOG_WARNING || prio == LOG_ERR) {
|
||||||
char *f;
|
char *f;
|
||||||
int len;
|
int len;
|
||||||
struct timeval tv = { };
|
struct timeval tv = { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user