psm.c (psmTriggerPosttrans): do not set RPM_INSTALL_ARG1 and RPM_INSTALL_ARG2

This commit is contained in:
Alexey Tourbin 2008-11-08 17:28:31 +03:00
parent b97cda599e
commit bd1897e46c

View File

@ -2174,7 +2174,7 @@ void psmTriggerPosttrans(PSM_t psm)
const char *script = RPMCONFIGDIR "/posttrans-filetriggers";
const char *argv[] = { script, file, NULL };
rpmMessage(RPMMESS_VERBOSE, _("Running %s\n"), script);
int rc = runScript(psm, NULL, script, 2, argv, NULL, 0, 0);
int rc = runScript(psm, NULL, script, 2, argv, NULL, -1, -1);
if (rc == 0)
unlink(file);
file = _free(file);