summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/dcpverify.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/dcpverify.cc b/tools/dcpverify.cc
index db4b2bce..2c1b2159 100644
--- a/tools/dcpverify.cc
+++ b/tools/dcpverify.cc
@@ -200,10 +200,15 @@ main (int argc, char* argv[])
}
if (!failed && !quiet) {
- if (bv21_failed || warned) {
- cout << "\n";
+ if (bv21_failed && warned) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors and warnings).\n";
+ } else if (bv21_failed) {
+ cout << "\nDCP verified OK (but with Bv2.1 errors).\n";
+ } else if (warned) {
+ cout << "\nDCP verified OK (but with warnings).\n";
+ } else {
+ cout << "DCP verified OK.\n";
}
- cout << "DCP verified OK.\n";
}
exit (failed ? EXIT_FAILURE : EXIT_SUCCESS);