1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-25 22:14:36 +00:00

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

This commit is contained in:
Con Kolivas 2012-12-19 20:21:32 +11:00
parent 4f1f5c8ec9
commit a7128e008f

View File

@ -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.");