Whoops, dont make install progress callbacks on erasure
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 8 Mar 2012 13:12:33 +0000 (15:12 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 8 Mar 2012 13:12:33 +0000 (15:12 +0200)
lib/psm.c

index ca31d1b..5947c47 100644 (file)
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -849,7 +849,7 @@ static rpmRC rpmpsmStage(rpmpsm psm, pkgStage stage)
 
            rpmpsmNotify(psm, RPMCALLBACK_UNINST_START, 0);
            /* make sure first progress call gets made */
-           rpmpsmNotify(psm, RPMCALLBACK_INST_PROGRESS, 0);
+           rpmpsmNotify(psm, RPMCALLBACK_UNINST_PROGRESS, 0);
 
            /* XXX should't we log errors from here? */
            if (rpmfiFC(fi) > 0 && !(rpmtsFlags(ts) & RPMTRANS_FLAG_JUSTDB)) {