Browse Source

Use correct cbreak after 15 second delay when no pool is found alive.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
a7128e008f
  1. 2
      cgminer.c

2
cgminer.c

@ -6647,7 +6647,7 @@ int main(int argc, char *argv[])
applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 15s."); applog(LOG_ERR, "Press any key to exit, or cgminer will try again in 15s.");
if (getch() != ERR) if (getch() != ERR)
quit(0, "No servers could be used! Exiting."); quit(0, "No servers could be used! Exiting.");
nocbreak(); cbreak();
} else } else
#endif #endif
quit(0, "No servers could be used! Exiting."); quit(0, "No servers could be used! Exiting.");

Loading…
Cancel
Save