* usr/lib/byobu/raid:

- Ensure /proc/mdstat is readable
This commit is contained in:
Jeffery To 2019-05-27 03:16:42 +08:00
commit 4f3be73ee9
2 changed files with 3 additions and 0 deletions

2
debian/changelog vendored
View file

@ -34,6 +34,8 @@ byobu (5.128) unreleased; urgency=medium
* usr/lib/byobu/processes: * usr/lib/byobu/processes:
- Handle stderr for ps, e.g. unsupported options - Handle stderr for ps, e.g. unsupported options
- Remove unnecessary awk call; wc -l only outputs one value - Remove unnecessary awk call; wc -l only outputs one value
* usr/lib/byobu/raid:
- Ensure /proc/mdstat is readable
* usr/lib/byobu/release: * usr/lib/byobu/release:
- Fix typo - Fix typo
* usr/lib/byobu/services: * usr/lib/byobu/services:

View file

@ -24,6 +24,7 @@ __raid_detail() {
} }
__raid() { __raid() {
[ -r /proc/mdstat ] || return
while read line; do while read line; do
local p msg local p msg
# Errors in your raid # Errors in your raid