Merge pull request #189 from jlebon/pr/print-before
postprocess.c: be more verbose when running script
This commit is contained in:
commit
517bc2b8fb
@ -1328,13 +1328,18 @@ rpmostree_treefile_postprocessing (GFile *yumroot,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_print ("Executing postprocessing script '%s'\n", bn);
|
||||||
|
|
||||||
{
|
{
|
||||||
char *child_argv[] = { binpath, NULL };
|
char *child_argv[] = { binpath, NULL };
|
||||||
if (!run_sync_in_root (yumroot, binpath, child_argv, error))
|
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;
|
ret = TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user