diff --git a/debian/changelog b/debian/changelog index 3764e593..aa0e16e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 29 Sep 2011 14:46:58 -0400 diff --git a/usr/lib/byobu/raid b/usr/lib/byobu/raid index 202c1fc3..841c1060 100755 --- a/usr/lib/byobu/raid +++ b/usr/lib/byobu/raid @@ -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