diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index f9e9f37e..5489bebc 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -365,7 +365,7 @@ sub run { sub handle_need_restart { my ($urpm, $state, $callbacks) = @_; - return if $urpm->{root}; + return if $urpm->{root} && !$ENV{URPMI_TEST_RESTART}; return if !$callbacks->{need_restart}; if (intersection([ keys %{$state->{selected}} ], |