diff options
author | Lamont Granquist <454857+lamont-granquist@users.noreply.github.com> | 2022-01-04 12:39:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 12:39:46 -0800 |
commit | 89b5ac4df012624796a855ceadb9aadd46caa1c6 (patch) | |
tree | 48c7b99430652eba9105e1360e91ab3ef7d99b7b /knife | |
parent | 072763e3a50bece9934f1dfa7ad61361d39a1203 (diff) | |
parent | 0cefcaa319b0d2f07241b78bf7d6f06de03d07ef (diff) | |
download | chef-89b5ac4df012624796a855ceadb9aadd46caa1c6.tar.gz |
Merge pull request #12414 from chef/Performance_StringIdentifierArgument
Diffstat (limited to 'knife')
-rw-r--r-- | knife/spec/support/platform_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/knife/spec/support/platform_helpers.rb b/knife/spec/support/platform_helpers.rb index a3fb95e069..4d3acbcb33 100644 --- a/knife/spec/support/platform_helpers.rb +++ b/knife/spec/support/platform_helpers.rb @@ -168,7 +168,7 @@ def wpar? end def supports_cloexec? - Fcntl.const_defined?("F_SETFD") && Fcntl.const_defined?("FD_CLOEXEC") + Fcntl.const_defined?(:F_SETFD) && Fcntl.const_defined?(:FD_CLOEXEC) end def selinux_enabled? |