1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 11:34:16 +00:00

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

This commit is contained in:
Con Kolivas 2011-08-29 12:21:37 +10:00
parent 4cc08fe459
commit 510bcc3d7e

2
main.c
View File

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