Merge pull request #189 from jlebon/pr/print-before

postprocess.c: be more verbose when running script
This commit is contained in:
Colin Walters 2015-12-10 15:30:43 -05:00
commit 517bc2b8fb

View File

@ -1328,13 +1328,18 @@ rpmostree_treefile_postprocessing (GFile *yumroot,
goto out;
}
g_print ("Executing postprocessing script '%s'\n", bn);
{
char *child_argv[] = { binpath, NULL };
if (!run_sync_in_root (yumroot, binpath, child_argv, error))
goto out;
{
g_prefix_error (error, "While executing postprocessing script '%s': ", bn);
goto out;
}
}
g_print ("Executing postprocessing script '%s'...done\n", bn);
g_print ("Finished postprocessing script '%s'\n", bn);
}
ret = TRUE;