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

neuro kill should exit non-zero code if it failed to kill any job in the list #1272

Closed
atemate opened this issue Dec 26, 2019 · 1 comment · Fixed by #1277
Closed

neuro kill should exit non-zero code if it failed to kill any job in the list #1272

atemate opened this issue Dec 26, 2019 · 1 comment · Fixed by #1277

Comments

@atemate
Copy link
Contributor

atemate commented Dec 26, 2019

I remember that I already created this issue, but somehow I cannot find it :/

Unfortunately, neuro kill does not follow POSIX and exits with 0 even if it failed to kill a job :(

$ neuro kill job-b1224959-29bb-4030-aa18-36b9937a5ebe not-existing-job job-b6010746-9f60-41c5-b91e-eeb99cae2aa7
job-b1224959-29bb-4030-aa18-36b9937a5ebe
job-b6010746-9f60-41c5-b91e-eeb99cae2aa7
Cannot kill job not-existing-job: no such job not-existing-job
$ echo $?
0

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

Successfully merging a pull request may close this issue.

3 participants