summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-12-19 18:16:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-12-19 18:16:58 +0000
commit325658297f91aef3c9b8666ddac31d2ece6400a8 (patch)
tree73fde3eeef4f19974edb0dd540d18e6a43142425 /perl-install/install_any.pm
parent731ea17193335d28308bf00404c37440bb9668ab (diff)
downloaddrakx-backup-do-not-use-325658297f91aef3c9b8666ddac31d2ece6400a8.tar
drakx-backup-do-not-use-325658297f91aef3c9b8666ddac31d2ece6400a8.tar.gz
drakx-backup-do-not-use-325658297f91aef3c9b8666ddac31d2ece6400a8.tar.bz2
drakx-backup-do-not-use-325658297f91aef3c9b8666ddac31d2ece6400a8.tar.xz
drakx-backup-do-not-use-325658297f91aef3c9b8666ddac31d2ece6400a8.zip
spawnShell: set DISPLAY, just in case :)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 31426c666..cab5fec86 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -215,6 +215,8 @@ sub spawnShell {
fork and return;
+ $ENV{DISPLAY} ||= ":0"; #- why not :pp
+
local *F;
sysopen F, "/dev/tty2", 2 or die "cannot open /dev/tty2 -- no shell will be provided";