Browse Source

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

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

2
main.c

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

Loading…
Cancel
Save