summaryrefslogtreecommitdiffstats
path: root/tools/drakx-in-chroot
diff options
context:
space:
mode:
Diffstat (limited to 'tools/drakx-in-chroot')
-rw-r--r--tools/drakx-in-chroot2
1 files changed, 1 insertions, 1 deletions
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: