Browse Source

Bugfix: Skip enabling curses, if --real-quiet or listing devices

nfactor-troky
Luke Dashjr 13 years ago
parent
commit
03c94c02e9
  1. 6
      cgminer.c

6
cgminer.c

@ -4362,6 +4362,9 @@ int main (int argc, char *argv[]) @@ -4362,6 +4362,9 @@ int main (int argc, char *argv[])
successful_connect = true;
}
if (opt_realquiet || devices_enabled == -1)
use_curses = false;
if (use_curses)
enable_curses();
@ -4469,9 +4472,6 @@ int main (int argc, char *argv[]) @@ -4469,9 +4472,6 @@ int main (int argc, char *argv[])
check_winsizes();
if (opt_realquiet)
use_curses = false;
if (!total_pools) {
applog(LOG_WARNING, "Need to specify at least one pool server.");
if (!use_curses || (use_curses && !input_pool(false)))

Loading…
Cancel
Save