aboutsummaryrefslogtreecommitdiff
path: root/lib/facter
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter')
-rw-r--r--lib/facter/disks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/disks.rb b/lib/facter/disks.rb
index 3653a5e..d6dd665 100644
--- a/lib/facter/disks.rb
+++ b/lib/facter/disks.rb
@@ -2,6 +2,6 @@
Facter.add("disks") do
confine :kernel => :linux
setcode do
- `egrep '[sh]d[a-z]+$' /proc/partitions &> /dev/null | awk '{ print $4 }' | xargs`.split(' ')
+ `egrep '[sh]d[a-z]+$' /proc/partitions 2> /dev/null | awk '{ print $4 }' | xargs`.split(' ')
end
end