mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-23 21:35:26 +03:00
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:
parent
bdbce9d042
commit
ca701f69c2
@ -255,7 +255,7 @@ gboolean ostree_repo_write_config (OstreeRepo *self,
|
|||||||
* @OSTREE_REPO_COMMIT_STATE_PARTIAL: One or more objects are missing from the
|
* @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.)
|
* 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
|
* @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
|
* Flags representing the state of a commit in the local repository, as returned
|
||||||
* by ostree_repo_load_commit().
|
* by ostree_repo_load_commit().
|
||||||
|
@ -456,7 +456,7 @@ ostree_builtin_fsck (int argc, char **argv, OstreeCommandInvocation *invocation,
|
|||||||
return glnx_throw (error, "Repository corruption encountered");
|
return glnx_throw (error, "Repository corruption encountered");
|
||||||
|
|
||||||
if (n_fsck_partial > 0)
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user