sshfs-mapper: Fix display on connection.

git-svn-id: https://websvn.glenux.net/svn/Upoc/sshfs-mapper/trunk@1519 eaee96b3-f302-0410-b096-c6cfd47f7835
This commit is contained in:
Glenn Y. Rolland 2010-01-24 21:00:26 +00:00
parent 6ae60055e0
commit 04c286e0d4

2
map.rb
View file

@ -64,7 +64,7 @@ module SshfsMapper
def connect() def connect()
puts "[#{File.basename @path}] Connecting..." puts "[#{File.basename @path}] Connecting..."
puts " #{@user}@#{@host}:#{@port}" puts " #{@user}@#{@host}:#{@port}"
puts " maps = #{@maps}" puts " maps = %s" % @maps.map{ |k,v| "%s => %s" % [ k, v ] }.join(', ')
# do something # do something
# test server connection # test server connection
# mount # mount