Nicer warning

This commit is contained in:
Jamie Cameron
2008-06-16 17:37:19 +00:00
parent 2a0c914f49
commit fec033fd09

View File

@ -311,7 +311,7 @@ if (!$@) {
else {
# Need to create a PTY using built-in Webmin code
local ($ptyfh, $ttyfh, $pty, $tty) = &get_new_pty();
$tty || &error("Failed to create new PTY");
$tty || &error("Failed to create new PTY - try installing the IO::Tty Perl module");
local $pid = fork();
if (!$pid) {
if (defined(&close_controlling_pty)) {