-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
kill: return 1 and gnu style stderr in case of no pid #6225
Conversation
GNU testsuite comparison:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does exactly what is says on the tin. Thank you!
Can I ask you to change the excessive indentation?
(Also, sorry about the "review self-request", I fully expected it to be an error message, because self-requesting makes to sense to me, and I was curious how github handled that edge case.)
Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
GNU testsuite comparison:
|
Thank you @BenWiederhake . Also applied your suggested change. |
Thanks! |
* kill: return 1 and gnu style stderr in case of no pid closes uutils#6221 * Update src/uu/kill/src/kill.rs Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de> --------- Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
* kill: return 1 and gnu style stderr in case of no pid closes uutils#6221 * Update src/uu/kill/src/kill.rs Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de> --------- Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
* kill: return 1 and gnu style stderr in case of no pid closes uutils#6221 * Update src/uu/kill/src/kill.rs Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de> --------- Co-authored-by: Ben Wiederhake <BenWiederhake.GitHub@gmx.de>
@jadijadi thanks for sharing your experience here :) https://www.youtube.com/watch?v=wzWNkNPHJx0 |
including a new test for "no pid provided" use case.
closes #6221