lib/forj/process/ForjProcess.rb in forj-1.0.8 vs lib/forj/process/ForjProcess.rb in forj-1.0.9

- old
+ new

@@ -1216,9 +1216,11 @@ %w(local account).each do |config_name| next if config.exist?(:keypair_base, :names => [config_name]) keypair_path = config.get(:keypair_path, nil, :name => config_name) + next if keypair_path.nil? + options = { :name => config_name } options.merge!(:section => :default) if config_name == 'local' config.set(:keypair_base, File.basename(keypair_path), options) config.set(:keypair_path, File.dirname(keypair_path), options) end