summaryrefslogtreecommitdiffstats
path: root/bin/flogin
diff options
context:
space:
mode:
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 {