[xen-tools-dev] Bug in the password promt in master
Joan
aseques at gmail.com
Sat Oct 26 11:26:07 CEST 2013
Since it involved changing only a line I tried to avoid having to create
the fork, the branch, push request stuff, but it's easy this way indeed.
I'll look into more changes asap
Regards,
Joan
2013/10/25 Axel Beckert <abe at deuxchevaux.org>
> Hi Joan,
>
> On Fri, Oct 25, 2013 at 11:03:51AM +0200, Joan wrote:
> > > my $tryagain = 1;
> > >> my $term = Term::ReadLine->new('Password change failed');
> > >> while ($tryagain) {
> > >> my $rc = system("chroot $MOUNT_POINT
> /usr/bin/passwd");
> > >> if ($rc >> 8) {
> > >> $tryagain = $term->ask_yn(
> > >> prompt => 'Do you want to try to change the
> > >> password again??',
> > >> default => 'y',
> > >> );
> > >> } else {
> > >> $tryagain=0;
> > >> }
> > >> }
> [...]
> > I created a merge request with the fixed code here:
> > https://gitorious.org/xen-tools/xen-tools/merge_requests/7
>
> Thanks for the pull request. I was confused because the above looked
> like a diff but wasn't a diff fixing the issue.
>
> And thanks for spotting this. Seems as if I haven't checked all cases
> when implementing that. :-/
>
> Both merge requests will be included soon.
>
> Kind regards, Axel
> --
> /~\ Plain Text Ribbon Campaign | Axel Beckert
> \ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
> X See http://www.asciiribbon.org/ | abe at noone.org(Mail+Jabber)
> / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/(Web)
> _______________________________________________
> xen-tools-dev mailing list
> xen-tools-dev at xen-tools.org
> https://xen-tools.org/mailman/listinfo/xen-tools-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://xen-tools.org/pipermail/xen-tools-dev/attachments/20131026/90c2edf4/attachment.html>
More information about the xen-tools-dev
mailing list