summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 31d09dea..2bab5069 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -362,6 +362,7 @@ if ($nok) {
sub handle_need_restart {
my ($urpm, $state, $callbacks) = @_;
+ return if $urpm->{root};
return if !$callbacks->{need_restart};
if (intersection([ keys %{$state->{selected}} ],