Browse Source

Give cgminer -T message only if curses is in use.

Con Kolivas 13 years ago
parent
commit
233a812f00
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cgminer.c

+ 2 - 1
cgminer.c

@@ -4825,7 +4825,8 @@ int main(int argc, char *argv[])
 				break;
 			case -1:
 				applog(LOG_WARNING, "Error in configuration file, partially loaded.");
-				applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
+				if (use_curses)
+					applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
 				break;
 			default:
 				break;