1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 12:34:27 +00:00

Failing to add_cgpu in bitfury should be a terminal failure.

This commit is contained in:
Con Kolivas 2013-10-08 23:18:57 +11:00
parent 078f7f4739
commit e05bfddc74

View File

@ -159,7 +159,7 @@ static bool bitfury_detect_one(struct libusb_device *dev, struct usb_find_device
bitfury_empty_buffer(bitfury);
if (!add_cgpu(bitfury))
goto out_close;
quit(1, "Failed to add_cgpu in bitfury_detect_one");
update_usb_stats(bitfury);
applog(LOG_INFO, "%s %d: Successfully initialised %s",