From 2e5d852fb72f31f4b47c82e396fdd103b68af902 Mon Sep 17 00:00:00 2001 From: Jordan Hamilton Date: Thu, 3 May 2018 18:21:09 -0600 Subject: [PATCH] #53 --- macOSUpgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOSUpgrade.sh b/macOSUpgrade.sh index db03c9b..853cce1 100644 --- a/macOSUpgrade.sh +++ b/macOSUpgrade.sh @@ -167,7 +167,7 @@ caffeinatePID=$(echo $!) currentUser=$( stat -f %Su /dev/console ) ##Check if FileVault Enabled -fvStatus=$( /usr/bin/fdesetup status ) +fvStatus=$( /usr/bin/fdesetup status | head -1 ) ##Check if device is on battery or ac power pwrAdapter=$( /usr/bin/pmset -g ps )