diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2014-10-22 18:06:29 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2014-10-22 18:06:29 +0200 |
commit | 0785c398b0531e8c66fd9d9263495d125221893a (patch) | |
tree | bab34265e0c01b031b051038fc37645e74b8ff1f | |
parent | c4b7717076f8d3c0d89880eaefa9a8dd827d6a0e (diff) | |
download | ostree-0785c398b0531e8c66fd9d9263495d125221893a.tar.gz |
fsck: report the correct error when a present file cannot be loaded
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r-- | 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 afd1b548..79bb5f2b 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; } |