aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/facter/monkeysphere.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/monkeysphere.rb b/lib/facter/monkeysphere.rb
index 1d7d68e..6f48a4d 100644
--- a/lib/facter/monkeysphere.rb
+++ b/lib/facter/monkeysphere.rb
@@ -5,7 +5,7 @@ ssh_fingerprint = ' '
if File.exist?('/usr/sbin/monkeysphere-host')
- sk = %x{/usr/sbin/monkeysphere-host show-keys}
+ sk = %x{/usr/sbin/monkeysphere-host show-keys 2>/dev/null}
if $? == 0
has_hostkey = true
sk.lines.each do |line|