Fix per-file plugin hook regression introduced in 4.18
Commit 6dd62720fe
neglected to update
rpmpluginsCallFsmFilePost() to pass the absolute path in the case
of unowned directories. Because in that case there's no rpmfi to
pass to the plugin in that case, there's simply no way for the plugin
to know what path is being manipulated. Oops.
Fixes: #2543
This commit is contained in:
parent
cebdb1e88a
commit
7072b2d2b9
|
@ -360,7 +360,7 @@ static int fsmDoMkDir(rpmPlugins plugins, int dirfd, const char *dn,
|
|||
}
|
||||
|
||||
/* Run fsm file post hook for all plugins */
|
||||
rpmpluginsCallFsmFilePost(plugins, NULL, dn, mode, op, rc);
|
||||
rpmpluginsCallFsmFilePost(plugins, NULL, apath, mode, op, rc);
|
||||
|
||||
if (!rc) {
|
||||
rpmlog(RPMLOG_DEBUG,
|
||||
|
|
Loading…
Reference in New Issue