summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorTomasz Paweł Gajc <tpg@mandriva.org>2010-07-25 16:47:59 +0000
committerTomasz Paweł Gajc <tpg@mandriva.org>2010-07-25 16:47:59 +0000
commitbe1f1af5fe0297629bf2d8a83c191d5c3d1ab052 (patch)
tree39487157c50ef9867f660718f85accbf6067b1cc /perl-install/any.pm
parent5d853f4162c68658619cd1644068bc85e7612c72 (diff)
downloaddrakx-be1f1af5fe0297629bf2d8a83c191d5c3d1ab052.tar
drakx-be1f1af5fe0297629bf2d8a83c191d5c3d1ab052.tar.gz
drakx-be1f1af5fe0297629bf2d8a83c191d5c3d1ab052.tar.bz2
drakx-be1f1af5fe0297629bf2d8a83c191d5c3d1ab052.tar.xz
drakx-be1f1af5fe0297629bf2d8a83c191d5c3d1ab052.zip
- kill Xorg process instead of obsolete X name process
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 0557d61dd..48a610b27 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1478,11 +1478,11 @@ sub ask_for_X_restart {
if (!$wm) {
# no window manager, ctrl-alt-del may not be supported, but we still have to restart X..
$in->ask_okcancel('', N("You need to logout and back in again for changes to take effect. Press OK to logout now."), 1) or return;
- system('killall X');
+ system('killall Xorg');
}
else {
$in->ask_okcancel('', N("You need to log out and back in again for changes to take effect"), 1) or return;
- ask_window_manager_to_logout_then_do($wm, $pid, 'killall X');
+ ask_window_manager_to_logout_then_do($wm, $pid, 'killall Xorg');
}
}