diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-11-22 14:31:05 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-11-22 14:31:05 +0000 |
commit | 6610142c12d88c13b8c8c1ed7216b9a08aabbe9d (patch) | |
tree | 4d566cca977ff3b1a41e77419abfdd747c119591 /tools/drakx-in-chroot | |
parent | 318ad752f331a6240577e57e89d2164ee2591975 (diff) | |
download | drakx-6610142c12d88c13b8c8c1ed7216b9a08aabbe9d.tar drakx-6610142c12d88c13b8c8c1ed7216b9a08aabbe9d.tar.gz drakx-6610142c12d88c13b8c8c1ed7216b9a08aabbe9d.tar.bz2 drakx-6610142c12d88c13b8c8c1ed7216b9a08aabbe9d.tar.xz drakx-6610142c12d88c13b8c8c1ed7216b9a08aabbe9d.zip |
do not commit suicide if Xnest isn't used
Diffstat (limited to 'tools/drakx-in-chroot')
-rw-r--r-- | tools/drakx-in-chroot | 2 |
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: |