check FOG_MOCK in env for bin/fog

This commit is contained in:
geemus 2010-10-04 14:03:22 -07:00
parent 619f7d430f
commit 59e1d89882
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ require 'yaml'
require File.join('fog', 'core', 'credentials')
Fog.credential = ARGV.first ? ARGV.first.to_sym : nil
Fog.bin = true
Fog.mock! if ENV['FOG_MOCK']
unless Fog.credentials
exit
end