mirror of
https://github.com/webmin/webmin.git
synced 2025-08-17 19:06:28 +00:00
Nicer warning
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user