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:
parent
4f1f5c8ec9
commit
a7128e008f
@ -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…
x
Reference in New Issue
Block a user