summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorJames Belchamber <james@belchamber.com>2014-08-08 16:48:04 +0100
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-21 16:39:30 -0700
commitb92385c73b6e39cc9d3373e8ec28f0702b0b5afb (patch)
tree2404236817a4c48aca6a93c6380a687ae945f825 /lib/chef
parente79605dddc056a738f39e279b35f8b3096328e9e (diff)
downloadchef-b92385c73b6e39cc9d3373e8ec28f0702b0b5afb.tar.gz
there is always an option!
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/provider/mount/mount.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/chef/provider/mount/mount.rb b/lib/chef/provider/mount/mount.rb
index abfffaa60e..2d4a5aadef 100644
--- a/lib/chef/provider/mount/mount.rb
+++ b/lib/chef/provider/mount/mount.rb
@@ -127,11 +127,7 @@ class Chef
end
def remount_command
- if !(@new_resource.options.nil? || @new_resource.options.empty?)
- return "mount -o remount,#{@new_resource.options.join(',')} #{@new_resource.mount_point}"
- else
- return "mount -o remount #{@new_resource.mount_point}"
- end
+ return "mount -o remount,#{@new_resource.options.join(',')} #{@new_resource.mount_point}"
end
def remount_fs