summaryrefslogtreecommitdiffstats
path: root/urpm/main_loop.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/main_loop.pm')
-rw-r--r--urpm/main_loop.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index ff81ee7a..c02e6004 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -307,7 +307,7 @@ if ($nok) {
print N("Installation is possible"), "\n";
} elsif (intersection([ keys %{$state->{selected}} ],
[ keys %{$urpm->{provides}{'should-restart'}} ])) {
- if (my $need_restart_formatted = urpm::sys::need_restart_formatted()) {
+ if (my $need_restart_formatted = urpm::sys::need_restart_formatted($urpm->{root})) {
$callbacks->{need_restart}($need_restart_formatted) if $callbacks->{need_restart};
}
}