1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 23:14:21 +00:00

The last pool is when we are low in total_pools, not active_pools.

This commit is contained in:
Con Kolivas 2011-07-25 16:44:24 +10:00
parent a53716dc7f
commit 7143c25b72

2
main.c
View File

@ -1581,7 +1581,7 @@ retry:
input_pool(true);
goto updated;
} else if (!strncasecmp(&input, "r", 1)) {
if (active_pools() <= 1) {
if (total_pools <= 1) {
wlogprint("Cannot remove last pool");
goto retry;
}