mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
usr/lib/byobu/disk_io: fix minor bug in 'command' call
This commit is contained in:
parent
d4bd4081c5
commit
144c6faf15
2 changed files with 2 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,7 @@ byobu (4.2) unreleased; urgency=low
|
|||
|
||||
[ Dustin Kirkland ]
|
||||
* usr/bin/byobu-config: remove debug output, LP: #782372
|
||||
* usr/lib/byobu/disk_io: fix minor bug in 'command' call
|
||||
|
||||
[ Scott Moser ]
|
||||
* usr/bin/byobu, usr/bin/byobu-reconnect-sockets,
|
||||
|
@ -29,7 +30,6 @@ byobu (4.2) unreleased; urgency=low
|
|||
- use 'read' for obtaining input from file
|
||||
- use built-in math functions for computation
|
||||
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 13 May 2011 18:58:03 +0200
|
||||
|
||||
byobu (4.1-0ubuntu1) oneiric; urgency=low
|
||||
|
|
|
@ -39,7 +39,7 @@ getdisk() {
|
|||
[ -z "$MONITORED_DISK" ] && MP="/" || MP="$MONITORED_DISK"
|
||||
|
||||
if [ "$1" = "--detail" ]; then
|
||||
if command -v >/dev/null; then
|
||||
if command -v iostat >/dev/null; then
|
||||
iostat -d -m -h
|
||||
else
|
||||
echo "Please install iostat if you want detailed information on your disk throughput"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue