mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
usr/lib/byobu/raid: only match one raid rebuild (the first one)
This commit is contained in:
parent
413e5a0c0e
commit
c84803af14
2 changed files with 3 additions and 3 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,8 +1,8 @@
|
|||
byobu (3.15) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/lib/byobu/raid: only match one raid rebuild (the first one)
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 29 Nov 2010 14:57:14 -0600
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 05 Dec 2010 11:11:06 -0600
|
||||
|
||||
byobu (3.14-0ubuntu1) natty; urgency=low
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ if grep -qs " blocks \[.*_.*\]$" /proc/mdstat; then
|
|||
fi
|
||||
|
||||
if grep -qs \% /proc/mdstat; then
|
||||
p=$(grep \% /proc/mdstat | sed -e "s/\%.*/%/" -e "s/.* //")
|
||||
p=$(grep -m1 \% /proc/mdstat | sed -e "s/\%.*/%/" -e "s/.* //")
|
||||
[ -z "$msg" ] && msg="RAID"
|
||||
msg="$msg,$p"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue