Commit a7128e008f66e28f9f5afc3fa13d597fb26355ce

Con Kolivas 2012-12-19T20:21:32

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 7e34eac..c7736cf 100644
--- a/cgminer.c
+++ b/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.");
 				if (getch() != ERR)
 					quit(0, "No servers could be used! Exiting.");
-				nocbreak();
+				cbreak();
 			} else
 #endif
 				quit(0, "No servers could be used! Exiting.");