aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/chat
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-02 09:55:26 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-04-02 09:55:26 +0000
commit39746e463083845bf84f3f072aef9f668565d274 (patch)
tree322e63c02dff08ad8b3206d053d94af16a184077 /usr.bin/chat
parentdf3cc9399cd82c4b721296392992956ad0523815 (diff)
downloadsrc-39746e463083845bf84f3f072aef9f668565d274.tar.gz
src-39746e463083845bf84f3f072aef9f668565d274.zip
Notes
Diffstat (limited to 'usr.bin/chat')
-rw-r--r--usr.bin/chat/chat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/chat/chat.c b/usr.bin/chat/chat.c
index ce7c7824778e..f050975ddf5d 100644
--- a/usr.bin/chat/chat.c
+++ b/usr.bin/chat/chat.c
@@ -31,7 +31,7 @@
*
*/
-static char rcsid[] = "$Id$";
+static char rcsid[] = "$Id: chat.c,v 1.6 1997/02/22 19:54:23 peter Exp $";
#include <stdio.h>
#include <time.h>
@@ -542,7 +542,8 @@ void set_tty_parameters()
if (get_term_param (&t) < 0)
{
- sysfatal("Can't get terminal parameters");
+ have_tty_parameters = 0;
+ return;
}
saved_tty_parameters = t;