Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
6282dfb405
  1. 6
      cgminer.c

6
cgminer.c

@ -4382,10 +4382,8 @@ static void print_summary(void) @@ -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);

Loading…
Cancel
Save