1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-27 07:33:05 +00:00

close connection

This commit is contained in:
nishiki 2014-01-23 22:40:16 +01:00
parent 352bc24f1a
commit c654dac532

View file

@ -61,12 +61,12 @@ cli.sync()
if !check_error if !check_error
cli.setup(lang) cli.setup(lang)
# Connect ssh
elsif ARGV.length < 1 elsif ARGV.length < 1
puts "#{I18n.t('ssh.option.usage')}: mpw-ssh SEARCH [options]" puts "#{I18n.t('ssh.option.usage')}: mpw-ssh SEARCH [options]"
exit 2 exit 2
end end
cli.ssh(search) cli.ssh(search)
cli = nil
exit 0 exit 0