Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
7143c25b72
  1. 2
      main.c

2
main.c

@ -1581,7 +1581,7 @@ retry: @@ -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;
}

Loading…
Cancel
Save