Browse Source

Null-Merge commit '1a19729' into cg_merges_20130523a

Luke Dashjr 12 years ago
parent
commit
4a2192cba5
1 changed files with 7 additions and 0 deletions
  1. 7 0
      miner.c

+ 7 - 0
miner.c

@@ -8608,8 +8608,15 @@ int main(int argc, char *argv[])
 			register_device(devices[i]);
 	}
 
+#ifdef USE_USBUTILS
+	if (!total_devices) {
+		applog(LOG_WARNING, "No devices detected!");
+		applog(LOG_WARNING, "Waiting for USB hotplug devices or press q to quit");
+	}
+#else
 	if (!total_devices)
 		quit(1, "All devices disabled, cannot mine!");
+#endif
 
 	load_temp_config();