fix for ruby1.9
authorStephen Gran <steve@lobefin.net>
Sun, 30 Dec 2012 09:45:50 +0000 (09:45 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 30 Dec 2012 09:45:50 +0000 (09:45 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
dsa-nagios-checks/checks/dsa-check-filesystems

index 4b74785..a211719 100755 (executable)
@@ -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