summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index 62b0f79c..dcc82572 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -80,6 +80,7 @@ sub _installed_and_unrequested_lists {
#- side-effects: <root>/var/lib/rpm/installed-through-deps.list
sub _write_unrequested_list__file {
my ($urpm, $unreq) = @_;
+ return if $>;
$urpm->{info}("writing " . unrequested_list__file($urpm));