Nicer warning
authorJamie Cameron <jcameron@webmin.com>
Mon, 16 Jun 2008 17:37:19 +0000 (17:37 +0000)
committerJamie Cameron <jcameron@webmin.com>
Mon, 16 Jun 2008 17:37:19 +0000 (17:37 +0000)
proc/proc-lib.pl

index 6e5767e..e2e0739 100644 (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)) {