Re: [cld patch 1/1] use specified username in cldcli

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/03/2010 12:07 AM, Pete Zaitcev wrote:
I suspect I copy-pasted over it when I converted to ncld, but anyhow this
patch seems work and do what's expected for --user flag.

Signed-off-by: Pete Zaitcev<zaitcev@xxxxxxxxxx>

---
  tools/cldcli.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cldcli.c b/tools/cldcli.c
index 7c73091..79a1009 100644
--- a/tools/cldcli.c
+++ b/tools/cldcli.c
@@ -712,7 +712,7 @@ int main (int argc, char *argv[])
  	dr = host_list->data;

  	nsess = ncld_sess_open(dr->host, dr->port,&error, sess_event, NULL,
-			     "cldcli", "cldcli",&cli_log);
+			     our_user, our_user,&cli_log);
  	if (!nsess) {
  		if (error<  1000) {

applied

PS. you sent this to jeff@xxxxxxxxxx, and unfortunately, I don't own that domain. I should. :) For future reference, jgarzik@xxxxxxxxx or jeff@xxxxxxxxxx are equivalent and should exist for the long term (even if I get fired from Red Hat or somesuch :)).

	Jeff




--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux