From a12a8b5882874ab71821ff0fbe87bfa82f587aa7 Mon Sep 17 00:00:00 2001 From: adrien Date: Fri, 3 Jan 2014 14:31:43 +0100 Subject: [PATCH] fix bug connect after setup a new config file --- lib/Cli.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cli.rb b/lib/Cli.rb index 2b53ab3..cc67cd1 100644 --- a/lib/Cli.rb +++ b/lib/Cli.rb @@ -49,6 +49,10 @@ class Cli else puts "#{I18n.t('cli.display.error')}: #{@m.error_msg}" end + + if not @m.checkconfig() + puts "#{I18n.t('cli.display.error')}: #{@m.error_msg}" + end end # Request the GPG password and decrypt the file