-
Notifications
You must be signed in to change notification settings - Fork 137
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] Limiting status output falsly claims "Task list is empty" #508
Comments
True, that seems to be a bug. Feel free to investigate and create a PR :) I'm not sure when I have the time to look at this. |
I looked at the code in For my usecase however I did realise that |
submitted a fix here #512 |
I was just compiling the " fix-group-filtering" branch when it got merged, (again) from what I see it fixes the issue, looking at the changes I again have no idea how it works but it does :) Thanks again for all the good work! ^_^ |
Describe the bug
I tried to check in a Bash script if there's still a task running in a certain group with the bash command
pueue status -g group columns=Status status=running first 1 | grep 'Running' | wc -l
I expect that when a group still has any running task it outputs one row of "Running" which gets converted to a 1, with nothing running outputting 0.
Steps to reproduce
pueue status -g {GROUPNAME} columns=Status status=running first 1
Debug logs (if relevant)
Operating system
Debian 11
Pueue version
3.3.3
Additional context
No response
The text was updated successfully, but these errors were encountered: