From bd7c49f4e0e6c58de08b8888043e2f6f7f151897 Mon Sep 17 00:00:00 2001 From: joden Date: Tue, 4 May 2004 06:04:23 +0000 Subject: [PATCH] %postun failures are now propagated back to transaction state machine. ...james CVS patchset: 7246 CVS date: 2004/05/04 06:04:23 --- lib/psm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/psm.c b/lib/psm.c index 31c72a3..b7026de 100644 --- a/lib/psm.c +++ b/lib/psm.c @@ -1896,7 +1896,7 @@ psm->te->h = headerLink(fi->h); if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOPOSTUN)) { rc = rpmpsmNext(psm, PSM_SCRIPT); - /* XXX WTFO? postun failures don't cause erasure failure. */ + if (rc) break; } if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOTRIGGERPOSTUN)) { -- 2.7.4