diff options
Diffstat (limited to 'lib/keyringer/actions/decrypt.rb')
-rw-r--r-- | lib/keyringer/actions/decrypt.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/keyringer/actions/decrypt.rb b/lib/keyringer/actions/decrypt.rb index f76dcc9..33f01c2 100644 --- a/lib/keyringer/actions/decrypt.rb +++ b/lib/keyringer/actions/decrypt.rb @@ -22,10 +22,10 @@ module Keyringer module Actions class Decrypt def execute - filename = $args[0] + path = Keyring::UserConfig.instance.path + filename = path + '/keys/' + $args[0] + '.asc' crypt = Keyring::Crypt.new - output = crypt.decrypt(filename) - return output + crypt.decrypt(filename) end end end |