mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/raid:
- fix raid rebuild percentage formatting
This commit is contained in:
parent
521b15bea9
commit
9ad353452a
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -14,6 +14,8 @@ byobu (4.38) unreleased; urgency=low
|
|||
- split the OS distribution name and version to two separate status
|
||||
items; enable the version (but not the name) in the compact tmux
|
||||
status line
|
||||
* usr/lib/byobu/raid:
|
||||
- fix raid rebuild percentage formatting
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 29 Sep 2011 14:46:58 -0400
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ __raid() {
|
|||
*\ blocks\ *\[*_*\]$)
|
||||
[ -z "${msg}" ] && msg="RAID";;
|
||||
*%*)
|
||||
p="${line%%${PCT}*}${PCT}"; p=${p##* };
|
||||
p="${line%%\%*}${PCT}"; p=${p##* };
|
||||
[ -z "$msg" ] && msg="RAID"
|
||||
msg="$msg,$p";;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue