summaryrefslogtreecommitdiff
path: root/lib/chef/provider/mount/mount.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/mount/mount.rb')
-rw-r--r--lib/chef/provider/mount/mount.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/mount/mount.rb b/lib/chef/provider/mount/mount.rb
index 6b062d1225..2021d6ece5 100644
--- a/lib/chef/provider/mount/mount.rb
+++ b/lib/chef/provider/mount/mount.rb
@@ -219,9 +219,9 @@ class Chef
def device_with_space_escape
# For CIFS (and perhaps other remote network mounts) when a space is in the "device name"
- # it will appear with the space substituted with a special character. However, when mounting,
- # the mount needs to be done with an actual space. This function provides the device name with
- # the special character to determine if the device is mounted.
+ # It will appear with the space substituted with a special character. However, when mounting,
+ # The mount needs to be done with an actual space. This function provides the device name with
+ # The special character to determine if the device is mounted.
device_mount_regex.gsub(" ", "\\x20")
end