Skip to content

Commit 94b220a

Browse files
committed
Remove unnecessary case from expect script
1 parent 41941ca commit 94b220a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎tests/yes.expect‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ expect {
2424
} -ex {Proceed with installation?} {
2525
send "y\n"
2626
exp_continue
27-
} -re . {
28-
exp_continue
2927
} eof {
28+
lassign [wait] pid spawnid os_error_flag value
29+
exit $value
3030
}
3131
}
32-
33-
lassign [wait] pid spawnid os_error_flag value
34-
exit $value

0 commit comments

Comments
 (0)