mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Use the posix output format
Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
parent
cff6c30a3c
commit
0affbc0487
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ module Inspec::Resources
|
|||
|
||||
class LinuxFileSystemResource < FsManagement
|
||||
def info(partition)
|
||||
cmd = inspec.command("df #{partition} -T")
|
||||
cmd = inspec.command("df #{partition} -PT")
|
||||
if cmd.stdout.nil? || cmd.stdout.empty? || cmd.exit_status != 0
|
||||
raise Inspec::Exceptions::ResourceFailed,
|
||||
"Unable to get available space for partition #{partition}"
|
||||
|
|
Loading…
Reference in a new issue