diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/mount/mount.rb | 2 |
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 |