diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-11-24 13:28:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-11-24 13:28:29 +0000 |
commit | 749f539ddb2a29af2572dd7d10b52346b462d695 (patch) | |
tree | d6c6e58370598b3580d7c3f20caef8056fa6a066 /urpm | |
parent | eef683b8da9f12d5221804d79c26997c76745ce7 (diff) | |
download | urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.gz urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.bz2 urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.tar.xz urpmi-749f539ddb2a29af2572dd7d10b52346b462d695.zip |
(handle_need_restart) do not advice to reboot when inside a chroot
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 1 |
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}} ], |