From c51c36c94f039f9da8338dd02a587c458a5f92e5 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 10 Aug 2018 17:38:30 -0700 Subject: fix a typo Signed-off-by: Lamont Granquist --- lib/chef/provider/mount/mount.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/provider/mount/mount.rb b/lib/chef/provider/mount/mount.rb index ad425aead8..7852c8dfdf 100644 --- a/lib/chef/provider/mount/mount.rb +++ b/lib/chef/provider/mount/mount.rb @@ -53,7 +53,7 @@ class Chef def enabled? # Check to see if there is a entry in /etc/fstab. Last entry for a volume wins. enabled = false - if ::File.exist?("/etc/fstab") + unless ::File.exist?("/etc/fstab") logger.debug "/etc/fstab not found, treating mount as not-enabled" return end -- cgit v1.2.1