diff options
-rw-r--r-- | lib/facter/ekeyd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter/ekeyd.rb b/lib/facter/ekeyd.rb index f15a304..4c0a91b 100644 --- a/lib/facter/ekeyd.rb +++ b/lib/facter/ekeyd.rb @@ -7,6 +7,6 @@ end Facter.add('ekeyd_key_present') do confine :operatingsystem => %w{Debian} setcode do - !`lsusb | grep "Entropy Key"`.empty? + !`lsusb 2> /dev/null | grep "Entropy Key"`.empty? end end |