Export to GitHub

pdsh - issue #58

Output all exit codes to stdout


Posted on Oct 24, 2013 by Happy Ox

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

Comment #2

Posted on Nov 8, 2013 by Happy Ox

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?

Comment #3

Posted on Dec 17, 2013 by Grumpy Horse

Comment deleted

Attachments

Comment #4

Posted on Dec 17, 2013 by Grumpy Horse

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.

Attachments

Status: Accepted

Labels:
Type-Enhancement Priority-Medium