mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-23 04:54:26 +00:00
Change failed-to-mine number of requested shares messge to avoid segfault on recursive calling of quit().
This commit is contained in:
parent
76d0554d76
commit
daf1eff13c
@ -4000,7 +4000,7 @@ static void print_summary(void)
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
if (opt_shares > total_accepted)
|
||||
quit(1, "Did not successfully mine as many shares as were requested.");
|
||||
applog(LOG_WARNING, "WARNING - Mined only %d shares of %d requested.", total_accepted, opt_shares);
|
||||
}
|
||||
|
||||
static void clean_up(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user