Pgrep is missing the "-c" switch in procps 3.2.8
Bug #434047 reported by
goto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Low
|
Unassigned | ||
byobu (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
The 'users' notification executes pgrep with the -c switch to get the count of matching processses. I am using Arch Linux with procps 3.2.8 and -c is not available, which breaks the 'users' notification.
On a Debian machine with procps 3.2.7 -c is still there, but the ChangeLog doesn't mention anything about count removal in 3.2.8: http://
I use a workaround with wc until this is resolved.
Changed in byobu (Ubuntu): | |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi, thanks for the report.
Can you tell me if Arch's pgrep exits with a non-zero exit code when -c is used? If so, I can add a fall back to use wc in that case.
:-Dustin