summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin McNeese <cmcneese@chef.io>2021-02-19 08:26:21 -0600
committerCollin McNeese <cmcneese@chef.io>2021-02-19 08:26:21 -0600
commit0b0000147a2b251744ddc3b5db406af5bac4017a (patch)
treecd2acfe2c0fc3e0c8b537c6c54f07042c8ccf3a5
parent55a38e0e6acec50e871dbb9df45a1f1d2527e2c9 (diff)
downloadohai-0b0000147a2b251744ddc3b5db406af5bac4017a.tar.gz
fixes hab guard
Signed-off-by: Collin McNeese <cmcneese@chef.io>
-rw-r--r--lib/ohai/plugins/habitat.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/habitat.rb b/lib/ohai/plugins/habitat.rb
index 26bbddef..09a741c2 100644
--- a/lib/ohai/plugins/habitat.rb
+++ b/lib/ohai/plugins/habitat.rb
@@ -19,7 +19,7 @@ Ohai.plugin(:Habitat) do
provides "habitat"
def habitat_exists?
- which("habitat")
+ which("hab")
end
def fetch_habitat_version