From f3c5f55481e8ad782fe5ecdc63ac589022ee91b1 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 24 Jul 2011 08:42:07 +1000 Subject: [PATCH] Only try to print the status of active devices. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index c19e703b..1715a42f 100644 --- a/main.c +++ b/main.c @@ -3512,7 +3512,7 @@ int main (int argc, char *argv[]) for (i = 0; i < mining_threads; i++) { if (unlikely(!queue_request())) quit(1, "Failed to queue_request in main"); - if (!opt_quiet) + if (!opt_quiet && active_device(i)) print_status(i); }