commit: proper singular/plural for 'error(s)' in commit message
based on github pull request #5cute-signatures
parent
16336ba265
commit
e6e90a6463
|
@ -350,7 +350,8 @@ all_done:
|
|||
|
||||
if (!db->performing_self_upgrade) {
|
||||
if (errors)
|
||||
snprintf(buf, sizeof(buf), "%d errors;", errors);
|
||||
snprintf(buf, sizeof(buf), "%d error%s;", errors,
|
||||
errors > 1 ? "s" : "");
|
||||
else
|
||||
strcpy(buf, "OK:");
|
||||
if (apk_verbosity > 1) {
|
||||
|
|
Loading…
Reference in New Issue