mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 18:11:05 +00:00
#769 Fixed regression with colors.
This commit is contained in:
parent
9a70f0e564
commit
c2f6c70044
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ void Network::onActive(IStrategy *strategy, Client *client)
|
|||
|
||||
const char *fingerprint = client->tlsFingerprint();
|
||||
if (fingerprint != nullptr) {
|
||||
LOG_INFO("\x1B[1;30mfingerprint (SHA-256): \"%s\"", fingerprint);
|
||||
LOG_INFO("%sfingerprint (SHA-256): \"%s\"", isColors() ? "\x1B[1;30m" : "", fingerprint);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue