Browse Source

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

Con Kolivas 13 years ago
parent
commit
a45506df5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -6876,7 +6876,7 @@ int main(int argc, char *argv[])
 				applog(LOG_ERR, "Press any key to exit, or BFGMiner will try again in 15s.");
 				applog(LOG_ERR, "Press any key to exit, or BFGMiner 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.");