mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
minor style improvement
This commit is contained in:
parent
c081cfac82
commit
db81929dd7
1 changed files with 2 additions and 2 deletions
|
@ -35,12 +35,12 @@ class AuditDaemonConf < Vulcano.resource(1)
|
|||
# read the file
|
||||
file = vulcano.file(@conf_path)
|
||||
if !file.file?
|
||||
return skip_resource "Can't find file \"#{@conf_path}\""
|
||||
return skip_resource "Can't find file '#{@conf_path}'"
|
||||
end
|
||||
|
||||
@content = file.content
|
||||
if @content.empty? && file.size > 0
|
||||
return skip_resource "Can't read file \"#{@conf_path}\""
|
||||
return skip_resource "Can't read file '#{@conf_path}'"
|
||||
end
|
||||
# parse the file
|
||||
@params = SimpleConfig.new(
|
||||
|
|
Loading…
Add table
Reference in a new issue