diff options
author | James Belchamber <james@belchamber.com> | 2014-08-08 16:48:04 +0100 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-21 16:39:30 -0700 |
commit | b92385c73b6e39cc9d3373e8ec28f0702b0b5afb (patch) | |
tree | 2404236817a4c48aca6a93c6380a687ae945f825 /lib/chef | |
parent | e79605dddc056a738f39e279b35f8b3096328e9e (diff) | |
download | chef-b92385c73b6e39cc9d3373e8ec28f0702b0b5afb.tar.gz |
there is always an option!
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/provider/mount/mount.rb | 6 |
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 |