diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-11-23 09:12:14 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-11-23 09:12:14 -0800 |
commit | 60c073c09f874b0f92e4b2e0c996a9d841551aab (patch) | |
tree | 5d3d5f50bcfb48ff32000ba3d2e2ca9d1829ff3e | |
parent | 2478b8252d3c701da2e0fd4835028da53c59c498 (diff) | |
download | chef-60c073c09f874b0f92e4b2e0c996a9d841551aab.tar.gz |
Fix failing AIX mount specsfix_aix
Use @phiggins suggestion here since it's nice and generic.
Signed-off-by: Tim Smith <tsmith@chef.io>
-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 71cecb47aa..0bd81d5453 100644 --- a/lib/chef/provider/mount/mount.rb +++ b/lib/chef/provider/mount/mount.rb @@ -203,7 +203,7 @@ class Chef end end # Removed "/" from the end of str, because it was causing idempotency issue. - @real_device.chomp("/") + @real_device == "/" ? @real_device : @real_device.chomp("/") end def device_logstring |