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:
glenux 2010-01-24 21:00:26 +00:00
parent 884f34af66
commit a25ada7a59

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