mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-23 06:36:17 -07:00
remove duplicate percent
This commit is contained in:
parent
7912e8e0d9
commit
2580a37a4f
1 changed files with 2 additions and 2 deletions
|
@ -34,10 +34,10 @@ fi
|
|||
|
||||
if grep -qs \% /proc/mdstat; then
|
||||
p=$(grep \% /proc/mdstat | sed -e "s/\%.*//" -e "s/.* //")
|
||||
sync=",$p%%"
|
||||
sync=",$p%"
|
||||
fi
|
||||
|
||||
if [ -n "$msg" ]; then
|
||||
printf "$(color B w r)%s%s$(color -)" "$msg" "$sync"
|
||||
printf "$(color B w r)%s%s$(color -) " "$msg" "$sync"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue