aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-04-05 17:33:10 +0200
committerGitHub <noreply@github.com>2022-04-05 17:33:10 +0200
commit27b952a8a16b75f47d62fd6d3b0cedc8a081655c (patch)
tree4c3e84ae0cdc610cf85a40419d43de0468963f0d /src/nix
parent71c07ac0e73d35b46be8a68619f9017460f2e69e (diff)
parent9a640afc1e63bed28926cb44fe85137fb7d2d2d1 (diff)
Merge pull request #6362 from thufschmitt/verbose-doctor
doctor: Always show the output
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/doctor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/doctor.cc b/src/nix/doctor.cc
index 4f3003448..ea87e3d87 100644
--- a/src/nix/doctor.cc
+++ b/src/nix/doctor.cc
@@ -24,12 +24,12 @@ std::string formatProtocol(unsigned int proto)
}
bool checkPass(const std::string & msg) {
- logger->log(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
+ notice(ANSI_GREEN "[PASS] " ANSI_NORMAL + msg);
return true;
}
bool checkFail(const std::string & msg) {
- logger->log(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
+ notice(ANSI_RED "[FAIL] " ANSI_NORMAL + msg);
return false;
}