lib/cloudstack-client/helper.rb in cloudstack-cli-0.1.2 vs lib/cloudstack-client/helper.rb in cloudstack-cli-0.1.3
- old
+ new
@@ -4,10 +4,10 @@
begin
return YAML::load(IO.read(config_file))
rescue Exception => e
$stderr.puts "Can't find the config file #{config_file}."
$stderr.puts "To create a new configuration file run \"cs setup\"."
- exit
+ exit 1
end
end
end
end