mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-10 14:04:16 +00:00
Disable curses after inputting a pool if we requested no curses interface.
This commit is contained in:
parent
4cc08fe459
commit
510bcc3d7e
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…
x
Reference in New Issue
Block a user