mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -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
|
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
|
byobu (3.14-0ubuntu1) natty; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ if grep -qs " blocks \[.*_.*\]$" /proc/mdstat; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if grep -qs \% /proc/mdstat; then
|
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"
|
[ -z "$msg" ] && msg="RAID"
|
||||||
msg="$msg,$p"
|
msg="$msg,$p"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue