Browse Source

Only try to print the status of active devices.

Con Kolivas 14 years ago
parent
commit
f3c5f55481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.c

+ 1 - 1
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);
 	}