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

[BUG] switching tasks with itself crashes the daemon #262

Closed
jbedo opened this issue Nov 12, 2021 · 1 comment
Closed

[BUG] switching tasks with itself crashes the daemon #262

jbedo opened this issue Nov 12, 2021 · 1 comment
Assignees
Labels

Comments

@jbedo
Copy link

jbedo commented Nov 12, 2021

Describe the bug

I accidentally tried to switch a task with itself and the daemon crashed:

$ pueue switch 639 639
Error: Io Error: unexpected end of file
  
Caused by:
    unexpected end of file

To Reproduce
Steps to reproduce the behavior:

  1. pueue switch 123 123

Expected behavior

No-op.

Additional context

  • Centos
  • Pueue 1.0.3
@Nukesor
Copy link
Owner

Nukesor commented Nov 12, 2021

Wow :D

Thanks for reporting that one. It seems I overlooked that possibility.

Fixed in 507027a
v1.0.4 will be released momentarily.

@Nukesor Nukesor closed this as completed Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants