diff --git a/lib/facter/memorytotalbytes.rb b/lib/facter/memorytotalbytes.rb index 829810d..157196d 100755 --- a/lib/facter/memorytotalbytes.rb +++ b/lib/facter/memorytotalbytes.rb @@ -2,6 +2,6 @@ Facter.add("memorytotalbytes") do setcode do - Facter::Util::Resolution.exec('free -bo | sed -n \'s/^Mem:\W\+\([0-9]\+\).*$/\1/p\'') + Facter::Util::Resolution.exec('free -b | sed -n \'s/^Mem:\W\+\([0-9]\+\).*$/\1/p\'') end end