aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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