fsck: Print a success message
There's a general Unix philosophy that "silence is golden". However, when one is explicitly invoking an error check it's nice to see explicit success. We already print various statistics, so ending with a happy note has no extra cost.
This commit is contained in:
parent
4b61768e3d
commit
1ed290c7d9
|
|
@ -459,5 +459,8 @@ ostree_builtin_fsck (int argc, char **argv, OstreeCommandInvocation *invocation,
|
||||||
if (n_fsck_partial > 0)
|
if (n_fsck_partial > 0)
|
||||||
return glnx_throw (error, "%u partial commits from fsck-detected corruption", n_partial);
|
return glnx_throw (error, "%u partial commits from fsck-detected corruption", n_partial);
|
||||||
|
|
||||||
|
g_print ("object fsck of %d commits completed successfully - no errors found.\n",
|
||||||
|
(guint)g_hash_table_size (commits));
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue