byobu-janitor replaces dashes in status commands, breaks status display
Bug #598488 reported by
Gabriel de Perthuis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland | ||
byobu (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When byobu starts, byobu-janitor is invoked and runs sed expressions against ~/.byobu/status. One of these edits makes the status file unreadable in my case, and byobu displays no indicator. The attached patch fixes that by using a stricter sed expression.
FWIW, here is what my status file contains; it uses the shorter codename, and reads /etc/lsb-release which is faster than firing up python to do so.
DISTRO="$(sed -ne 's/DISTRIB_
Changed in byobu: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in byobu: | |
status: | Triaged → In Progress |
Changed in byobu: | |
status: | In Progress → Fix Committed |
Changed in byobu (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Dustin, can you please apply this?
The sed expression is easy to review.