[Tickets #4927] error in kpasswd_expect

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jan 22 09:30:05 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4927
-----------------------------------------------------------------------
 Ticket             | 4927
 Created By         | bailey at wickedknight.net
 Summary            | error in kpasswd_expect
 Queue              | Passwd
 Version            | 3.0
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


bailey at wickedknight.net (2007-01-22 09:30) wrote:

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




More information about the bugs mailing list