summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-08-10 17:38:30 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-08-10 17:38:30 -0700
commitc51c36c94f039f9da8338dd02a587c458a5f92e5 (patch)
tree307427653338bfc68f0355e833a8c9e7669202f7
parent3c4a1ac79af277ccb352e2a27a95453a6e21f837 (diff)
downloadchef-c51c36c94f039f9da8338dd02a587c458a5f92e5.tar.gz
fix a typo
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/mount/mount.rb2
1 files changed, 1 insertions, 1 deletions
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