Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Jun 29, 2018
1 parent f8998f8 commit c6f0148
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ inventory:
* Fix #439: Wrong network interface speed under win32
* Fix #472: On MacOS, add monitors serial number when available
* Fix #479: No virtual machine memory under Proxmox
* Fix #485: Fix df output parsing under MacOS
* Fix #500: Add Acer monitor EDID id match
* Better SQL Server software inventory under win32
* Update Xen Server support
Expand Down
2 changes: 1 addition & 1 deletion lib/FusionInventory/Agent/Task/Inventory/MacOS/Drives.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sub doInventory {
my $filesystem = $filesystems{$device};
next unless $filesystem;

if ($info->{'Total Size'} =~ /^([.\d]+ \s \S+)/x) {
if ($info->{'Total Size'} && $info->{'Total Size'} =~ /^([.\d]+ \s \S+)/x) {
$filesystem->{TOTAL} = getCanonicalSize($1);
}
$filesystem->{SERIAL} = $info->{'Volume UUID'} ||
Expand Down

0 comments on commit c6f0148

Please sign in to comment.