1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-03-19 12:59:30 +00:00

clipboard: remove clean text

This commit is contained in:
nishiki 2016-07-12 20:34:54 +02:00
parent a18793d8d6
commit 4d783e88a4

View file

@ -258,7 +258,6 @@ class Cli
sleep 30
Clipboard.clear
puts I18n.t('form.clipboard.clean').green
rescue Interrupt
exit
end
@ -271,11 +270,9 @@ class Cli
end
Clipboard.clear
puts I18n.t('form.clipboard.clean').green
rescue SystemExit, Interrupt
Clipboard.clear
puts I18n.t('form.clipboard.clean').green
ensure
Process.kill('HUP', pid) if not pid.nil?