core/post: Warn when we fail to find a filename in the policy

This commit is contained in:
Colin Walters 2014-02-02 16:30:15 -05:00
parent 3e64ed8dc3
commit 1cb62d25fb

View File

@ -616,7 +616,10 @@ xattr_cb (OstreeRepo *repo,
res = selabel_lookup_raw (hnd, &con, path, mode);
if (res != 0)
return NULL;
{
g_printerr ("warning: selabel_lookup_raw(%s): %s\n", path, strerror (errno));
return NULL;
}
g_variant_builder_init (&builder, G_VARIANT_TYPE ("a(ayay)"));
g_variant_builder_add (&builder, "(@ay@ay)",