aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-28 22:54:48 -0800
committerelijah <elijah@riseup.net>2013-02-28 22:54:48 -0800
commitb683dcba7338ef501ad81c87c9acd7f34a670428 (patch)
treefc1f42556fbdff77d40d0335a2d20d46ed8e24bf
parentdb6be7e8c1fc966d31fc7cba9dd728cf6d65739f (diff)
downloadleap_cli-b683dcba7338ef501ad81c87c9acd7f34a670428.tar.gz
leap_cli-b683dcba7338ef501ad81c87c9acd7f34a670428.tar.bz2
provider error when 'node init' finds no nodes.
-rw-r--r--lib/leap_cli/commands/node.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb
index e8f2c73..7b929e0 100644
--- a/lib/leap_cli/commands/node.rb
+++ b/lib/leap_cli/commands/node.rb
@@ -54,7 +54,7 @@ module LeapCli; module Commands
init.action do |global,options,args|
assert! args.any?, 'You must specify a node-filter'
finished = []
- manager.filter(args).each_node do |node|
+ manager.filter!(args).each_node do |node|
ping_node(node)
save_public_host_key(node, global)
update_compiled_ssh_configs