diff --git a/lib/facter/megaraid_virtual_drives.rb b/lib/facter/megaraid_virtual_drives.rb index f615fcb..a8d0dcd 100644 --- a/lib/facter/megaraid_virtual_drives.rb +++ b/lib/facter/megaraid_virtual_drives.rb @@ -29,6 +29,7 @@ end end + next nil if vds.empty? vds.sort.join(',') end end