Hello,

attached is a patch to prompt for password only once. As for now,
ipmitool prompts for password as many times as, eg. '-a', option has
been passed.

Ales, please note, attached patch is different from the one you've
proposed. Is this workable? Another option would be to put the whole
getpass()-thing into if() statement. I gave it a bit of thought and
I'm not fond of proposed(original) patch. I don't mean it's bad. But
these two variants seem much simpler and cleaner(?).

Z.

Attachment: ipmi_main.c-ask_for_passwd_once.diff
Description: Binary data

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to