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
Comment #1
Posted on Oct 25, 2013 by Grumpy Horse(No comment was entered for this change.)
Attachments- pdsh_exit_code_patch 2.47KB
Comment #2
Posted on Nov 8, 2013 by Happy OxI 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?
Comment #3
Posted on Dec 17, 2013 by Grumpy HorseComment deleted
- pdsh_exit_code_patch 3.31KB
Comment #4
Posted on Dec 17, 2013 by Grumpy HorseSounds 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.
- pdsh_exit_code_patch 2.47KB
Status: Accepted
Labels:
Type-Enhancement
Priority-Medium