Commit c739d0dc152d57244a058ecc2209b76c5499cbd6

Luke Dashjr 2012-03-13T13:11:55

Merge branch 'bugfix_realquiet' into bugfix_realquiet_2 Conflicts: cgminer.c

diff --git a/cgminer.c b/cgminer.c
index 217e759..ad3faf0 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -4418,6 +4418,9 @@ int main (int argc, char *argv[])
 	}
 
 #ifdef HAVE_CURSES
+	if (opt_realquiet || devices_enabled == -1)
+		use_curses = false;
+
 	if (use_curses)
 		enable_curses();
 #endif
@@ -4526,9 +4529,6 @@ int main (int argc, char *argv[])
 
 #ifdef HAVE_CURSES
 	check_winsizes();
-
-	if (opt_realquiet)
-		use_curses = false;
 #endif
 
 	if (!total_pools) {