[Bug 2026598] [NEW] md5check errors is always plural

Brian Murray 2026598 at bugs.launchpad.net
Fri Jul 7 17:01:15 UTC 2023


Public bug reported:

The casper-md5check.c code will always present a message that errors
were found in "files" even if the error was only found in one file:

420   } else if (failed) {
421     result = RESULT_FAIL;
422     plymouth_urgent(client, "Check finished: errors found in %d files! You might encounter errors.", failed);
423     sleep(5);

I ran across this because I was booting a system and there was an error
in only 1 file but I still saw "errors found in 1 files!" which is not
ideal.

** Affects: casper (Ubuntu)
     Importance: Low
         Status: Triaged


** Tags: bitesize lunar mantic

** Changed in: casper (Ubuntu)
   Importance: Undecided => Low

** Changed in: casper (Ubuntu)
       Status: New => Triaged

** Tags added: bitesize

** Tags added: lunar mantic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/2026598

Title:
  md5check errors is always plural

Status in casper package in Ubuntu:
  Triaged

Bug description:
  The casper-md5check.c code will always present a message that errors
  were found in "files" even if the error was only found in one file:

  420   } else if (failed) {
  421     result = RESULT_FAIL;
  422     plymouth_urgent(client, "Check finished: errors found in %d files! You might encounter errors.", failed);
  423     sleep(5);

  I ran across this because I was booting a system and there was an
  error in only 1 file but I still saw "errors found in 1 files!" which
  is not ideal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/2026598/+subscriptions




More information about the foundations-bugs mailing list