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

Fixes #13556: another typo in rtf #137

Conversation

Fdall
Copy link
Contributor

@Fdall Fdall commented Sep 21, 2018

rtf Outdated
@@ -333,7 +333,7 @@ class Vagrant(Host):
proxy = have_proxy()
while "making sure that no vagrant up are running":
(returncode, output) = shell("pgrep -f \"vagrant up\"", fail_exit=False)
if returncode != 0:
if returncode != 1:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean vagrant up should return 1 in case of succes ? that doesn't look unix

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is pgrep that returns 1 when no process are found: https://www.gsp.com/cgi-bin/man.cgi?section=1&topic=pgrep

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok so the original ==0 was right

@Fdall Fdall force-pushed the ust_13556/another_typo_in_rtf branch from dcd7c97 to 5e3dccc Compare September 21, 2018 16:11
@Fdall
Copy link
Contributor Author

Fdall commented Sep 21, 2018

Commit modified

@Normation-Quality-Assistant

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 5e3dccc into Normation:master Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants