From 2607f8c0ccfc852cb4d3335e5715621729f89152 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Mar 2009 21:37:37 +0000 Subject: [PATCH] ruby was getting confused over too many negations - add some brackets to make it clear to the poor little dear Signed-off-by: Stephen Gran --- facts/mounts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facts/mounts.rb b/facts/mounts.rb index b6494bf2..5f3d3c12 100644 --- a/facts/mounts.rb +++ b/facts/mounts.rb @@ -10,7 +10,7 @@ Facter.add("mounts") do "mfs", "shfs", "sysfs", "cifs", "lustre_lite", "tmpfs", "usbfs", "udf"] mountpoints = [] FileSystem.mounts.each do |m| - if not ignorefs.include?(m.fstype) && m.options !~ /bind/ + if ((not ignorefs.include?(m.fstype)) && (m.options !~ /bind/)) mountpoints << m.mount end end -- 2.39.2