mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
Add warning string if no conf file exists
This commit is contained in:
parent
bd94b4585e
commit
c75bc69ea2
1 changed files with 1 additions and 1 deletions
|
|
@ -240,7 +240,7 @@ class Vmfloaty
|
||||||
begin
|
begin
|
||||||
conf = YAML.load_file("#{Dir.home}/.vmfloaty.yml")
|
conf = YAML.load_file("#{Dir.home}/.vmfloaty.yml")
|
||||||
rescue
|
rescue
|
||||||
STDERR.puts "There was no config file at #{Dir.home}/.vmfloaty.yml"
|
STDERR.puts "WARNING: There was no config file at #{Dir.home}/.vmfloaty.yml"
|
||||||
end
|
end
|
||||||
conf
|
conf
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue