mirror of https://github.com/GOSTSec/sgminer
Browse Source
If there are no GPUs, set nDevs to 0 not -1 (status is set to an unhelpful -1001 here on my laptop, so we can't rely on a particular status value). Also, if nDevs is -1, exit rather than screwing up later.nfactor-troky
Rusty Russell
14 years ago
2 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue