mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/raid:
- fix coloring, needed grouping around colored print
This commit is contained in:
parent
b64a1510e6
commit
dd2284a816
2 changed files with 5 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -34,6 +34,8 @@ byobu (4.14) unreleased; urgency=low
|
|||
- add trailing whitespace back
|
||||
* usr/lib/byobu/.shutil:
|
||||
- fix slow/lag associated with testing for metadata server
|
||||
* usr/lib/byobu/raid:
|
||||
- fix coloring, needed grouping around colored print
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500
|
||||
|
||||
|
|
|
@ -36,7 +36,9 @@ __raid() {
|
|||
msg="$msg,$p";;
|
||||
esac
|
||||
done < /proc/mdstat
|
||||
[ -z "$msg" ] || color B w r; printf "%s" "$msg"; color --
|
||||
if [ -n "$msg" ]; then
|
||||
color B w r; printf "%s" "$msg"; color --
|
||||
fi
|
||||
}
|
||||
|
||||
# vi: syntax=sh ts=4 noexpandtab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue