mirror of
https://github.com/nishiki/manage-password.git
synced 2025-02-18 17:10:04 +00:00
lib/Sync.rb
This commit is contained in:
parent
b5230f2cfe
commit
724fc1752a
1 changed files with 2 additions and 2 deletions
|
@ -121,9 +121,9 @@ module MPW
|
||||||
raise @local.error_msg if not @local.add(item)
|
raise @local.error_msg if not @local.add(item)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
raise @sync.error_msg if not @sync.update(@config.file_gpg)
|
|
||||||
raise @mpw.error_msg if not @local.encrypt
|
raise @mpw.error_msg if not @local.encrypt
|
||||||
|
raise @sync.error_msg if not @sync.update(@config.file_gpg)
|
||||||
|
|
||||||
return true
|
return true
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
|
|
Loading…
Add table
Reference in a new issue