summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/facter/ekeyd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/ekeyd.rb b/lib/facter/ekeyd.rb
index 7521948..db56fa3 100644
--- a/lib/facter/ekeyd.rb
+++ b/lib/facter/ekeyd.rb
@@ -1,6 +1,6 @@
Facter.add('ekeyd_key_present') do
confine :kernel => %w{Linux}
setcode do
- !Kernel.exec('lsusb | grep "Entropy Key"').empty?
+ !`lsusb | grep "Entropy Key`.empty?
end
end