Commit f3c5f55481e8ad782fe5ecdc63ac589022ee91b1

Con Kolivas 2011-07-24T08:42:07

Only try to print the status of active devices.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/main.c b/main.c
index c19e703..1715a42 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);
 	}