| Summary | error in kpasswd_expect |
| Queue | Passwd |
| Queue Version | 3.0 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | Chuck Hagenbuch <chuck (at) horde (dot) org> |
| Requester | bailey (at) wickedknight (dot) net |
| Created | 01/22/2007 (475 days ago) |
| Due | |
| Updated | 01/22/2007 (475 days ago) |
| Assigned | |
| Resolved | 01/22/2007 (475 days ago) |
| Attachments | |
| Milestone | |
| Patch |
State ⇒ Resolved
Fixed, thanks!Type ⇒ Bug
Summary ⇒ error in kpasswd_expect
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Passwd
Was looking at the kpasswd_expect script and noticed that it won't close out the error log correctly. Forgets to reference the err variable as $err the last couple of times at the end of the script.
ie.
expect {
eof {
puts $err $expect_out(buffer)
close err
exit 1
}
"Password changed."
{
close err
exit 0
}
}
close err
exit 0
Should be:
expect {
eof {
puts $err $expect_out(buffer)
close $err
exit 1
}
"Password changed."
{
close $err
exit 0
}
}
close $err
exit 0