512vincent / pdsh

Automatically exported from code.google.com/p/pdsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output all exit codes to stdout

GoogleCodeExporter opened this issue · comments

Hi,

I am sending you a patch for pdsh-2.29 that implements an option (-A) to 
display all return values from all hosts on stdout instead of just displaying 
non zero return values on stderr.

The display on stdout is done because a race condition can occur between stderr 
and stdout under specific conditions, trashing some lines.

Regards,



-- 
Clément Bourgeois
HP EMEA



Original issue reported on code.google.com by mark.gro...@gmail.com on 24 Oct 2013 at 4:03

Original comment by clement9...@gmail.com on 25 Oct 2013 at 8:09

Attachments:

I just realized that -A will conflict with the genders module. I think this one 
might have to wait until pdsh supports long options, or we could trigger off an 
environment variable for now. How does that sound?

Original comment by mark.gro...@gmail.com on 8 Nov 2013 at 12:15

  • Changed state: Accepted
[deleted comment]
Sounds great, I let you judge what name suits you best.

I just realized there was a typo missing \ in the patch I attached, here is the 
correct one.

Original comment by clement9...@gmail.com on 17 Dec 2013 at 3:06

Attachments: