1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-08-26 13:52:02 +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,6 +4825,7 @@ int main(int argc, char *argv[])
break; break;
case -1: case -1:
applog(LOG_WARNING, "Error in configuration file, partially loaded."); applog(LOG_WARNING, "Error in configuration file, partially loaded.");
if (use_curses)
applog(LOG_WARNING, "Start cgminer with -T to see what failed to load."); applog(LOG_WARNING, "Start cgminer with -T to see what failed to load.");
break; break;
default: default: