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 10ae26e27..fbda29eb9 100644
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -57,7 +57,7 @@ create_initial_devices();
output("$SLASH_LOCATION/etc/hosts", "127.0.0.1 localhost\n") if ! -e "$SLASH_LOCATION/etc/hosts";
my $Xnest_pid;
-if (whereis_binary('Xnest')) {
+if (!-f ($SLASH_LOCATION . $AUTO_INSTALL_ROOTED) && whereis_binary('Xnest')) {
my $DISPLAY = ':8';
$Xnest_pid = fork();
if (!$Xnest_pid) {