6.0.0-RC7
6/27/26

[#4927] error in kpasswd_expect
Summary error in kpasswd_expect
Queue Passwd
Queue Version 3.0
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester bailey (at) wickedknight (dot) net
Created 1/22/07 (7096 days ago)
Due
Updated 1/23/07 (7095 days ago)
Assigned
Resolved 1/23/07 (7095 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
394 Chuck Hagenbuch Assigned to Chuck Hagenbuch
 
244 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed, thanks!
45 bailey (at) wickedknight (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ error in kpasswd_expect
Queue ⇒ Passwd
Reply to this comment
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

Saved Queries