Skip to content

Commit

Permalink
look closer at those tidy ups before you committ
Browse files Browse the repository at this point in the history
  • Loading branch information
loceee committed Oct 13, 2014
1 parent 2218218 commit 26db206
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FVHelper/fvhelper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ do
done

if [ ! -f "${fvhelperreceipt}" ] # no receipt, we can prompt to enable FV.
then
if [ "$(checkConsoleStatus)" == "userloggedin" ] # double check we have logged in user
then
filevaultprompt=$(osascript -e "display dialog \"This Mac requires FileVault Encryption.
Expand All @@ -116,6 +117,7 @@ Would you like to enable for ${username} ?\" with icon file \"System:Library:Cor
logoutUser
else
echo "user skipped FV"
fi
fi
else
# if we've run the policy and the receipt exists, the JSS isn't up to date, recon.
Expand Down

0 comments on commit 26db206

Please sign in to comment.