summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 1d5d87d27..dc2122c08 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -208,7 +208,7 @@ sub spawnShell() {
$ENV{DISPLAY} ||= ":0"; #- why not :pp
local *F;
- sysopen F, "/dev/tty2", 2 or die "cannot open /dev/tty2 -- no shell will be provided";
+ sysopen F, "/dev/tty2", 2 or die "cannot open /dev/tty2 -- no shell will be provided: $!";
open STDIN, "<&F" or die '';
open STDOUT, ">&F" or die '';