diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-09 08:17:32 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-09 08:17:32 -0800 |
commit | 37e02399a6e1dd281808a556f1420f8cf6e846fd (patch) | |
tree | 86834a5371fccfc474004233e45ab00dd7355574 /lib/chef/provider/mount/mount.rb | |
parent | f073747786abbe6ada55ed24b696a03e39c3c45d (diff) | |
download | chef-37e02399a6e1dd281808a556f1420f8cf6e846fd.tar.gz |
autofixing auto-inserted delimiterslcg/chefstyle-batch
Diffstat (limited to 'lib/chef/provider/mount/mount.rb')
-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 8f9f8b05d4..635a4f6ea2 100644 --- a/lib/chef/provider/mount/mount.rb +++ b/lib/chef/provider/mount/mount.rb @@ -42,7 +42,7 @@ class Chef def mountable? # only check for existence of non-remote devices - if device_should_exist? && !::File.exists?(device_real) + if device_should_exist? && !::File.exists?(device_real) raise Chef::Exceptions::Mount, "Device #{@new_resource.device} does not exist" elsif( @new_resource.mount_point != "none" && !::File.exists?(@new_resource.mount_point) ) raise Chef::Exceptions::Mount, "Mount point #{@new_resource.mount_point} does not exist" |