[ostree] fsck: report the correct error when a present file cannot be loaded
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] fsck: report the correct error when a present file cannot be loaded
- Date: Wed, 22 Oct 2014 18:13:51 +0000 (UTC)
commit 0785c398b0531e8c66fd9d9263495d125221893a
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Wed Oct 22 18:06:29 2014 +0200
fsck: report the correct error when a present file cannot be loaded
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
src/ostree/ot-builtin-fsck.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-builtin-fsck.c b/src/ostree/ot-builtin-fsck.c
index afd1b54..79bb5f2 100644
--- a/src/ostree/ot-builtin-fsck.c
+++ b/src/ostree/ot-builtin-fsck.c
@@ -118,6 +118,7 @@ load_and_fsck_one_object (OstreeRepo *repo,
}
else
{
+ *error = temp_error;
g_prefix_error (error, "Loading file object %s: ", checksum);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]