1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Display the device summary on exit even if a device has been disabled.

This commit is contained in:
Con Kolivas 2012-05-06 16:15:20 +10:00
parent 84f3bf998b
commit 6282dfb405

View File

@ -4382,10 +4382,8 @@ static void print_summary(void)
}
applog(LOG_WARNING, "Summary of per device statistics:\n");
for (i = 0; i < total_devices; ++i) {
if (devices[i]->deven == DEV_ENABLED)
log_print_status(devices[i]);
}
for (i = 0; i < total_devices; ++i)
log_print_status(devices[i]);
if (opt_shares)
applog(LOG_WARNING, "Mined %d accepted shares of %d requested\n", total_accepted, opt_shares);