mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-18 17:10:04 +00:00
minor change
This commit is contained in:
parent
ea9b2fb411
commit
a0720672bd
1 changed files with 1 additions and 4 deletions
|
@ -50,10 +50,7 @@ class Cli
|
||||||
if !@mpw.sync(@sync.get(@passwd), @config.last_update)
|
if !@mpw.sync(@sync.get(@passwd), @config.last_update)
|
||||||
puts "#{I18n.t('display.error')}: #{@mpw.error_msg}" if !@mpw.error_msg.nil?
|
puts "#{I18n.t('display.error')}: #{@mpw.error_msg}" if !@mpw.error_msg.nil?
|
||||||
puts "#{I18n.t('display.error')}: #{@sync.error_msg}" if !@sync.error_msg.nil?
|
puts "#{I18n.t('display.error')}: #{@sync.error_msg}" if !@sync.error_msg.nil?
|
||||||
return false
|
elsif !@sync.update(File.open(@config.file_gpg).read)
|
||||||
end
|
|
||||||
|
|
||||||
if !@sync.update(File.open(@config.file_gpg).read)
|
|
||||||
puts "#{I18n.t('display.error')}: #{@sync.error_msg}"
|
puts "#{I18n.t('display.error')}: #{@sync.error_msg}"
|
||||||
elsif !@config.set_last_update
|
elsif !@config.set_last_update
|
||||||
puts "#{I18n.t('display.error')}: #{@config.error_msg}"
|
puts "#{I18n.t('display.error')}: #{@config.error_msg}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue