* usr/lib/byobu/raid:

- fix raid rebuild percentage formatting
This commit is contained in:
Dustin Kirkland 2011-10-02 20:15:06 -04:00
commit 9ad353452a
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -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

View file

@ -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