Commit e6e90a64 authored by Timo Teräs's avatar Timo Teräs

commit: proper singular/plural for 'error(s)' in commit message

based on github pull request #5
parent 16336ba2
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment