summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2012-06-23 17:24:21 +0200
committerPaul Buetow <paul@buetow.org>2012-06-23 17:24:21 +0200
commit5687570b4c3dedd1913ac83c30f8e8ab18844871 (patch)
treef75d53fd95c7bfef1ffce4b9676fb0797f68d124 /lib
parent1ab5f6d017ac0f115df4a0160c1d87b7dc6f35ad (diff)
quick commit
Diffstat (limited to 'lib')
-rw-r--r--lib/Loadbars/Constants.pm1
-rw-r--r--lib/Loadbars/Main.pm2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Loadbars/Constants.pm b/lib/Loadbars/Constants.pm
index e21c93a..f4db3c9 100644
--- a/lib/Loadbars/Constants.pm
+++ b/lib/Loadbars/Constants.pm
@@ -35,4 +35,3 @@ use constant {
};
1;
-
diff --git a/lib/Loadbars/Main.pm b/lib/Loadbars/Main.pm
index 95a8e7d..8a6555e 100644
--- a/lib/Loadbars/Main.pm
+++ b/lib/Loadbars/Main.pm
@@ -862,7 +862,7 @@ sub loop ($@) {
) if $C{extended};
if ($is_host_summary) {
- if ( defined $loadavg[0] ) {
+ if ( defined $loadavg[2] ) {
$app->print( $x, $y += $space, 'Avg:' );
$app->print(
$x,