1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-26 22:44:21 +00:00

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

This commit is contained in:
Con Kolivas 2012-05-06 13:30:27 +10:00
parent f8b66bde28
commit 233a812f00

View File

@ -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;