summaryrefslogtreecommitdiffstats
path: root/urpme
diff options
context:
space:
mode:
Diffstat (limited to 'urpme')
-rw-r--r--urpme1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpme b/urpme
index 60ed98bd..f99a3ec0 100644
--- a/urpme
+++ b/urpme
@@ -96,6 +96,7 @@ my @toremove = $urpm->find_packages_to_remove(
foreach (@_) {
$urpm->{error}(N("removing package %s will break your system", $_));
} 0 },
+ root => $root,
) or $urpm->{fatal}(0, N("Nothing to remove"));
my $list = join "\n", $urpm->translate_why_removed($state, sort @toremove);