mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
doctor: Always show the output
Fix https://github.com/NixOS/nix/issues/6342
This commit is contained in:
parent
a4a1de69dc
commit
9a640afc1e
1 changed files with 2 additions and 2 deletions
|
@ -24,12 +24,12 @@ std::string formatProtocol(unsigned int proto)
|
||||||
}
|
}
|
||||||
|
|
||||||
bool checkPass(const std::string & msg) {
|
bool checkPass(const std::string & msg) {
|
||||||
logger->log(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
|
notice(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool checkFail(const std::string & msg) {
|
bool checkFail(const std::string & msg) {
|
||||||
logger->log(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
|
notice(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue