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 (!db->performing_self_upgrade) {
|
||||||
if (errors)
|
if (errors)
|
||||||
snprintf(buf, sizeof(buf), "%d errors;", errors);
|
snprintf(buf, sizeof(buf), "%d error%s;", errors,
|
||||||
|
errors > 1 ? "s" : "");
|
||||||
else
|
else
|
||||||
strcpy(buf, "OK:");
|
strcpy(buf, "OK:");
|
||||||
if (apk_verbosity > 1) {
|
if (apk_verbosity > 1) {
|
||||||
|
|
Loading…
Reference in New Issue