commit | 25ee4e48f79681ce76122d2b4ddda46efcd37ca0 | [log] [tgz] |
---|---|---|
author | Kevin Steves <stevesk@pobox.com> | Tue Aug 14 20:41:34 2001 +0000 |
committer | Kevin Steves <stevesk@pobox.com> | Tue Aug 14 20:41:34 2001 +0000 |
tree | 94b77241693a4d74c5d1a3a8e431baae1586ee5a | |
parent | ad4aa5655dd67823af9b751d173e7ce166454770 [diff] [blame] |
- (stevesk) sshpty.c: return 0 on error in cray pty code; ok wendyp@cray.com
diff --git a/sshpty.c b/sshpty.c index 31abd69..f88658b 100644 --- a/sshpty.c +++ b/sshpty.c
@@ -186,6 +186,7 @@ if (*ttyfd < 0) { error("%.100s: %.100s", namebuf, strerror(errno)); close(*ptyfd); + return 0; } return 1; }