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

[fix] switch from head to tail in project update playbook when clearing project dir #13618

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

TheRealHaoLiu
Copy link
Member

SUMMARY

from @relrod

head will close the input fd when it no longer needs it (or exits). find will try to write to the closed fd and somewhere along the way, it will receive SIGPIPE as a result. This is why yes | head -5 doesn't run forever.

ISSUE TYPE
  • New or Enhanced Feature
COMPONENT NAME
  • Other
AWX VERSION
awx: 21.12.1.dev23+g89e41597a6
ADDITIONAL INFORMATION

from @relrod

`head` will close the input fd when it no longer needs it (or exits). find will try to write to the closed fd and somewhere along the way, it will receive SIGPIPE as a result. This is why `yes | head -5 ` doesn't run forever.
@TheRealHaoLiu TheRealHaoLiu merged commit d088d36 into ansible:devel Feb 23, 2023
@TheRealHaoLiu TheRealHaoLiu deleted the head-to-tail branch February 23, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants