summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-20 09:47:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-20 09:47:16 +0000
commitcd4789c77abc98d505e3124796f63a55b72be70f (patch)
tree30b106660bc69a2a9d1aafacf0a168dfb246193c /perl-install/standalone
parent98c183a76b04f3c5658309f7840536c20469be91 (diff)
downloaddrakx-backup-do-not-use-cd4789c77abc98d505e3124796f63a55b72be70f.tar
drakx-backup-do-not-use-cd4789c77abc98d505e3124796f63a55b72be70f.tar.gz
drakx-backup-do-not-use-cd4789c77abc98d505e3124796f63a55b72be70f.tar.bz2
drakx-backup-do-not-use-cd4789c77abc98d505e3124796f63a55b72be70f.tar.xz
drakx-backup-do-not-use-cd4789c77abc98d505e3124796f63a55b72be70f.zip
when restarting X, don't kill kdm/gdm/xdm, they don't need this (worse, they don't respawn)
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/XFdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/XFdrake b/perl-install/standalone/XFdrake
index fdc0250e5..a06d3ed0c 100755
--- a/perl-install/standalone/XFdrake
+++ b/perl-install/standalone/XFdrake
@@ -157,6 +157,6 @@ sub ask_for_X_restart {
my ($wm, $pid) = @ARGV;
my $nb;
for ($nb = 30; $nb && -e "/proc/$pid"; $nb--) { sleep 1 }
- system("killall X ; killall -15 xdm gdm kdm prefdm") if $nb;
+ system("killall X") if $nb;
}, $wm, $pid;
}