From cf352367b4afe5b0849258030b3640c963b6828a Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 30 Dec 2012 09:45:50 +0000 Subject: [PATCH] fix for ruby1.9 Signed-off-by: Stephen Gran --- dsa-nagios-checks/checks/dsa-check-filesystems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1