diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 660c3b0ee1146..6f11864cadfc6 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -136,7 +136,7 @@ def check_for_opencore opencore_version = Utils.safe_popen_read("/usr/sbin/nvram", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version").split[1] oclp_version = Utils.safe_popen_read("/usr/sbin/nvram", - "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:oclp-version").split[1] + "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:OCLP-Version").split[1] return if opencore_version.blank? || oclp_version.blank? rescue ErrorDuringExecution return