fsck: Fix version in docs, tweak error text

I think this error message is clearer.

Closes: #1918
Approved by: jlebon
This commit is contained in:
Colin Walters 2019-09-09 14:23:20 +00:00 committed by Atomic Bot
parent bdbce9d042
commit ca701f69c2
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ gboolean ostree_repo_write_config (OstreeRepo *self,
* @OSTREE_REPO_COMMIT_STATE_PARTIAL: One or more objects are missing from the
* local copy of the commit, but metadata is present. (Since: 2015.7.)
* @OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL: One or more objects are missing from the
* local copy of the commit, due to an fsck --delete. (Since: 2019.3.)
* local copy of the commit, due to an fsck --delete. (Since: 2019.4.)
*
* Flags representing the state of a commit in the local repository, as returned
* by ostree_repo_load_commit().

View File

@ -456,7 +456,7 @@ ostree_builtin_fsck (int argc, char **argv, OstreeCommandInvocation *invocation,
return glnx_throw (error, "Repository corruption encountered");
if (n_fsck_partial > 0)
return glnx_throw (error, "%u fsck deleted partial commits not verified", n_partial);
return glnx_throw (error, "%u partial commits from fsck-detected corruption", n_partial);
return TRUE;
}