aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bbot/diagnostics.cxx2
-rw-r--r--bbot/diagnostics.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/bbot/diagnostics.cxx b/bbot/diagnostics.cxx
index b5bd9f8..7ba84c2 100644
--- a/bbot/diagnostics.cxx
+++ b/bbot/diagnostics.cxx
@@ -68,7 +68,7 @@ namespace bbot
// We don't always see colorized output so keep 'error: ', etc.
//
- fail.type_ = with_critical ? "<2>error: " : "<3>error: ";
+ fail.type_ = with_critical ? "<2>fatal: " : "<3>error: ";
error.type_ = "<3>error: ";
warn.type_ = "<4>warning: ";
info.type_ = "<6>";
diff --git a/bbot/diagnostics.hxx b/bbot/diagnostics.hxx
index 1e349ec..99d3df4 100644
--- a/bbot/diagnostics.hxx
+++ b/bbot/diagnostics.hxx
@@ -181,7 +181,7 @@ namespace bbot
// If with_critical is true, then distinguish between fail (critical error,
// daemon terminates) and error (non-fatal error, daemon continues to run).
// Note that this means we should be careful not to use fail to report
- // normal errors and vice-versa.
+ // normal errors and vice-versa (see fail hard).
//
void
systemd_diagnostics (bool with_critical);