Browse Source

Disable curses after inputting a pool if we requested no curses interface.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
510bcc3d7e
  1. 2
      main.c

2
main.c

@ -4699,6 +4699,8 @@ int main (int argc, char *argv[])
applog(LOG_WARNING, "Need to specify at least one pool server."); applog(LOG_WARNING, "Need to specify at least one pool server.");
if (!input_pool(false)) if (!input_pool(false))
quit(1, "Pool setup failed"); quit(1, "Pool setup failed");
if (!use_curses)
disable_curses();
} }
for (i = 0; i < total_pools; i++) { for (i = 0; i < total_pools; i++) {

Loading…
Cancel
Save