From 6610142c12d88c13b8c8c1ed7216b9a08aabbe9d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 22 Nov 2005 14:31:05 +0000 Subject: do not commit suicide if Xnest isn't used --- tools/drakx-in-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/drakx-in-chroot') diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot index 8cce19859..db521ca77 100644 --- a/tools/drakx-in-chroot +++ b/tools/drakx-in-chroot @@ -66,7 +66,7 @@ if (whereis_binary('Xnest')) { if (my $pid = fork()) { waitpid $pid, 0; umount_all() == 0 or warn "umounting failed\n"; - kill 15, $Xnest_pid; + $Xnest_pid and kill 15, $Xnest_pid; } else { $ENV{HOME} = '/'; # to kept sync with gi/mdk-stage1/init.c::env: -- cgit v1.2.1