mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
Merge pull request #52 from scottjasso/patch-1
Fix disk_io notification bug
This commit is contained in:
commit
b3a9041eb7
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ __disk_io() {
|
|||
if [ $t2 -le $t1 ]; then
|
||||
rate=0
|
||||
else
|
||||
[ -r "$cache" ] && read x1 < "$cache" || x1=0
|
||||
[ -r "$cache" ] && read x1 < "$cache"
|
||||
local a1= a2= a3= a4= a5= a6= a7= a8= a9= a10=
|
||||
read a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 other < "/sys/block/$disk/stat"
|
||||
if [ "$i" = "read" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue