From e81edf7284eb7237665773e2939dbef2974bd4c8 Mon Sep 17 00:00:00 2001
From: Manuel Franceschini <livewire@google.com>
Date: Thu, 2 Sep 2010 14:19:50 +0200
Subject: [PATCH] gnt-node: Fix bug that inverts ssh-key-check behavior

Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 scripts/gnt-node | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gnt-node b/scripts/gnt-node
index c081f1ce5..114bc2e81 100755
--- a/scripts/gnt-node
+++ b/scripts/gnt-node
@@ -148,7 +148,7 @@ def _RunSetupSSH(options, nodes):
     cmd.append("--debug")
   elif options.verbose:
     cmd.append("--verbose")
-  if options.ssh_key_check:
+  if not options.ssh_key_check:
     cmd.append("--no-ssh-key-check")
 
   cmd.extend(nodes)
-- 
GitLab