diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource/alternatives.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/alternatives.rb b/lib/chef/resource/alternatives.rb index e12b2dab04..e5e9461c71 100644 --- a/lib/chef/resource/alternatives.rb +++ b/lib/chef/resource/alternatives.rb @@ -126,7 +126,7 @@ class Chef def current_path # https://rubular.com/r/ylsuvzUtquRPqc match = shell_out(alternatives_cmd, "--display", new_resource.link_name).stdout.match(/link currently points to (.*)/) - match.nil? ? nil : match[1] + match[1] end # |