From fa5458e1aacf231d459116d8b7aaebe5c2ff7b54 Mon Sep 17 00:00:00 2001 From: Stephan Date: Wed, 16 Jul 2014 23:52:03 +0200 Subject: [PATCH] Fix issue with $uptime being undefined Fix issue with $uptime being undefined. On my setup perl requires a variable to assign the return value of the split operation. Without this the value of $uptime ends up being undefined. --- plugins/network/bandwidth_ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/network/bandwidth_ b/plugins/network/bandwidth_ index 1b6ba577..a66d61f8 100755 --- a/plugins/network/bandwidth_ +++ b/plugins/network/bandwidth_ @@ -208,8 +208,8 @@ sub uptime { my $puptime = "/proc/uptime"; open( TIME, "<", $puptime ) || die "Unable to read $puptime: $!"; while (