Skip to content

Fix: ping: Avoid temporary files for fping check - #1128

Merged
kgaillot merged 1 commit into
ClusterLabs:masterfrom
gao-yan:ping-output
Aug 24, 2016
Merged

Fix: ping: Avoid temporary files for fping check#1128
kgaillot merged 1 commit into
ClusterLabs:masterfrom
gao-yan:ping-output

Conversation

@gao-yan

@gao-yan gao-yan commented Aug 24, 2016

Copy link
Copy Markdown
Member

In a7373f9, bash heredocs still create a temporary file in the
background. This commit avoids temporary files in a simple compromise
way when parsing the output of fping.

In a7373f9, bash heredocs still create a temporary file in the
background. This commit avoids temporary files in a simple compromise
way when parsing the output of fping.
@kgaillot

Copy link
Copy Markdown

This seems like a good approach. The intermingled stdout+stderr may be difficult to read, but it's an unlikely situation anyway, and would probably indicate the RA needs updating.

@kgaillot
kgaillot merged commit 5b074a5 into ClusterLabs:master Aug 24, 2016
@jnpkrn

jnpkrn commented Aug 24, 2016

Copy link
Copy Markdown
Contributor

Bonus point for addressing both items in #1117 (comment) at once (IIUIC) :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants