Add warning string if no conf file exists

This commit is contained in:
Brian Cain 2015-10-01 19:40:26 -07:00
parent bd94b4585e
commit c75bc69ea2

View file

@ -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