Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep pid of salt CLI command from showing in status.pid output #9025

Merged
merged 1 commit into from
Dec 5, 2013

Conversation

terminalmage
Copy link
Contributor

When status.pid is executed by the salt-minion instance running on the
master, it also returns the pid of the salt CLI command, because the
search string matches. This commit adds another grep to the ps/grep/awk
one-liner, which filters out lines matching 'status.pid'.

Fixes #8720.

When status.pid is executed by the salt-minion instance running on the
master, it also returns the pid of the salt CLI command, because the
search string matches. This commit adds another grep to the ps/grep/awk
one-liner, which filters out lines matching 'status.pid'.
@terminalmage
Copy link
Contributor Author

@basepi this should be cherrypicked

techhat added a commit that referenced this pull request Dec 5, 2013
Keep pid of salt CLI command from showing in status.pid output
@techhat techhat merged commit ee06057 into saltstack:develop Dec 5, 2013
@terminalmage terminalmage deleted the issue8720 branch December 30, 2013 18:57
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.

status.pid includes the pid of grep
2 participants