aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/node.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-12-09 22:27:18 -0800
committerelijah <elijah@riseup.net>2012-12-09 22:27:18 -0800
commit4e4cdbac88fa36e9bb955cd3a4592b205e5c60ca (patch)
tree6be7960283e06cb2fe5abc0accb00ddebc1af2ad /lib/leap_cli/commands/node.rb
parent7f8efcc081517227cc81de736539722725290428 (diff)
downloadleap_cli-4e4cdbac88fa36e9bb955cd3a4592b205e5c60ca.tar.gz
leap_cli-4e4cdbac88fa36e9bb955cd3a4592b205e5c60ca.tar.bz2
minor cleanup of node command
Diffstat (limited to 'lib/leap_cli/commands/node.rb')
-rw-r--r--lib/leap_cli/commands/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb
index f208f87..91a30ae 100644
--- a/lib/leap_cli/commands/node.rb
+++ b/lib/leap_cli/commands/node.rb
@@ -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)