usr/lib/byobu/disk_io: fix minor bug in 'command' call

This commit is contained in:
Dustin Kirkland 2011-05-21 14:47:58 +02:00
commit 144c6faf15
2 changed files with 2 additions and 2 deletions

2
debian/changelog vendored
View file

@ -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

View file

@ -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"