pull: make slightly clearer when failing for missing xattrs support
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 6 Nov 2015 10:47:15 +0000 (11:47 +0100)
committerGiuseppe Scrivano <gscrivan@redhat.com>
Mon, 16 Nov 2015 10:07:55 +0000 (11:07 +0100)
It is not clear why pull fails on tmpfs.  The additional message might
be helpful.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
src/libostree/ostree-repo-commit.c

index a761a8a9dee84478305269255ed7b3fc5845f609..7cc3e27b3d461e3034e2232d54ab2e07cfedfe5f 100644 (file)
@@ -103,6 +103,7 @@ write_file_metadata_to_xattr (int fd,
   if (G_UNLIKELY (res == -1))
     {
       gs_set_error_from_errno (error, errno);
+      g_prefix_error (error, "Unable to set xattr: ");
       return FALSE;
     }