mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -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
|
- split the OS distribution name and version to two separate status
|
||||||
items; enable the version (but not the name) in the compact tmux
|
items; enable the version (but not the name) in the compact tmux
|
||||||
status line
|
status line
|
||||||
|
* usr/lib/byobu/raid:
|
||||||
|
- fix raid rebuild percentage formatting
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 29 Sep 2011 14:46:58 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 29 Sep 2011 14:46:58 -0400
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ __raid() {
|
||||||
*\ blocks\ *\[*_*\]$)
|
*\ blocks\ *\[*_*\]$)
|
||||||
[ -z "${msg}" ] && msg="RAID";;
|
[ -z "${msg}" ] && msg="RAID";;
|
||||||
*%*)
|
*%*)
|
||||||
p="${line%%${PCT}*}${PCT}"; p=${p##* };
|
p="${line%%\%*}${PCT}"; p=${p##* };
|
||||||
[ -z "$msg" ] && msg="RAID"
|
[ -z "$msg" ] && msg="RAID"
|
||||||
msg="$msg,$p";;
|
msg="$msg,$p";;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue