From: Stephen Gran Date: Sun, 30 Dec 2012 09:45:50 +0000 (+0000) Subject: fix for ruby1.9 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cf352367b4afe5b0849258030b3640c963b6828a;p=mirror%2Fdsa-nagios.git fix for ruby1.9 Signed-off-by: Stephen Gran --- diff --git a/dsa-nagios-checks/checks/dsa-check-filesystems b/dsa-nagios-checks/checks/dsa-check-filesystems index 4b74785..a211719 100755 --- a/dsa-nagios-checks/checks/dsa-check-filesystems +++ b/dsa-nagios-checks/checks/dsa-check-filesystems @@ -30,7 +30,7 @@ mountpoints.keys.each do |m| end rescue Exception => e end - if temp + if temp && (temp.length > 0) output << temp end end