]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
minor cleanup of node command
authorelijah <elijah@riseup.net>
Mon, 10 Dec 2012 06:27:18 +0000 (22:27 -0800)
committerelijah <elijah@riseup.net>
Mon, 10 Dec 2012 06:27:18 +0000 (22:27 -0800)
lib/leap_cli/commands/node.rb

index f208f87bb6030ac5a67cbb462ef9bbe4f2e3ee38..91a30ae2dc23e787af0d9de3cb81c6f42fb6d93d 100644 (file)
@@ -138,8 +138,8 @@ module LeapCli; module Commands
         log :trusted, "- Public SSH host key for #{node.name} matches previously saved key", :indent => 1
       else
         bail! do
-          log 0, :error, "The public SSH host key we just fetched for #{node.name} doesn't match what we have saved previously.", :indent => 1
-          log 0, "Remove the file #{pub_key_path} if you really want to change it.", :indent => 2
+          log :error, "The public SSH host key we just fetched for #{node.name} doesn't match what we have saved previously.", :indent => 1
+          log "Remove the file #{pub_key_path} if you really want to change it.", :indent => 2
         end
       end
     elsif public_key.in_known_hosts?(node.name, node.ip_address, node.domain.name)