summaryrefslogtreecommitdiffstats
path: root/bin/flogin
diff options
context:
space:
mode:
authorTar Committer <tar@ocjtech.us>2000-08-23 20:13:31 +0000
committerTar Committer <tar@ocjtech.us>2000-08-23 20:13:31 +0000
commita505626101e262be2cd5a8c74c44d3616c299519 (patch)
treefaa740207faec239fa2af636b194c924eaf3573f /bin/flogin
parentb24aa5051db5d4bf9757efe7df06cb1892898382 (diff)
downloadrancid-a505626101e262be2cd5a8c74c44d3616c299519.tar.gz
rancid-a505626101e262be2cd5a8c74c44d3616c299519.tar.xz
rancid-a505626101e262be2cd5a8c74c44d3616c299519.zip
Imported from rancid-1.5.tar.gz.rancid-1.5
Diffstat (limited to 'bin/flogin')
-rwxr-xr-xbin/flogin4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/flogin b/bin/flogin
index b168762..652e38a 100755
--- a/bin/flogin
+++ b/bin/flogin
@@ -262,7 +262,7 @@ proc login { router user userpswd passwd enapasswd prompt cyphertype } {
expect_after {
timeout {
send_user "\nError: TIMEOUT reached\n"
- close; wait
+ catch {close}; wait
if { $in_proc} {
return 1
} else {
@@ -270,7 +270,7 @@ proc login { router user userpswd passwd enapasswd prompt cyphertype } {
}
} eof {
send_user "\nError: EOF received\n"
- close; wait
+ catch {close}; wait
if { $in_proc} {
return 1
} else {