summaryrefslogtreecommitdiff
path: root/lib/rpminstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpminstall.c')
-rw-r--r--lib/rpminstall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpminstall.c b/lib/rpminstall.c
index 36cd39deb..785b61230 100644
--- a/lib/rpminstall.c
+++ b/lib/rpminstall.c
@@ -850,7 +850,7 @@ int rpmErase(rpmts ts, struct rpmInstallArguments_s * ia,
/* Drop added/available package indices and dependency sets. */
rpmtsClean(ts);
- numPackages = rpmtsRun(ts, NULL, 0);
+ numPackages = rpmtsRun(ts, NULL, ia->probFilter & (RPMPROB_FILTER_DISKSPACE|RPMPROB_FILTER_DISKNODES));
ps = rpmtsProblems(ts);
if (rpmpsNumProblems(ps) > 0)
rpmpsPrint(NULL, ps);