From 3a82eb1660f5846f4616d74869047423cc304274 Mon Sep 17 00:00:00 2001 From: Zack T Date: Mon, 21 Mar 2022 22:40:55 -0700 Subject: [PATCH] v1.2.0 = Bug fix Fixed logic issue causing all returns to be negative --- Jamf Pro/Extension Attributes/jamf_ea_Rosetta2Installed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jamf Pro/Extension Attributes/jamf_ea_Rosetta2Installed.sh b/Jamf Pro/Extension Attributes/jamf_ea_Rosetta2Installed.sh index a1f1504..1c50c98 100644 --- a/Jamf Pro/Extension Attributes/jamf_ea_Rosetta2Installed.sh +++ b/Jamf Pro/Extension Attributes/jamf_ea_Rosetta2Installed.sh @@ -3,7 +3,7 @@ ################################################################################################### # Script Name: jamf_ea_Rosetta2Installed.sh # By: Zack Thompson / Created: 4/5/2021 -# Version: 1.1.0 / Updated: 11/3/2021 / By: ZT +# Version: 1.2.0 / Updated: 3/21/2022 / By: ZT # # Description: A Jamf Extension Attribute to determine if Rosetta 2 is installed. # @@ -11,7 +11,7 @@ if [[ $( /usr/bin/arch ) == "arm64" ]]; then - if [[ $( /usr/bin/pgrep oahd > /dev/null 2>&1 ) ]]; then + if [[ $( /usr/bin/pgrep oahd ) ]]; then echo "Installed"