From a525ce0ad88f350184331e4bae8995b01d96d900 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 13 Nov 2024 23:43:24 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Eric Knibbe --- Library/Homebrew/extend/os/mac/diagnostic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 9fc366a8bfd1b..6cc02f7c0de8e 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -135,14 +135,14 @@ def check_for_opencore # https://dortania.github.io/OpenCore-Legacy-Patcher/UPDATE.html#checking-oclp-and-opencore-versions begin opencore_version = Utils.safe_popen_read("/usr/sbin/nvram", - "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version") + "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:opencore-version").split[1] return if opencore_version.blank? rescue ErrorDuringExecution return end <<~EOS - You have installed macOS using OpenCore Legacy Patcher. + You have booted macOS using OpenCore Legacy Patcher. We do not provide support for this configuration. #{please_create_pull_requests} EOS