Skip to content

Commit

Permalink
fix text of osascript
Browse files Browse the repository at this point in the history
  • Loading branch information
Graham R Pugh committed Dec 15, 2020
1 parent 4fe3a19 commit 52ef489
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erase-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ EOT
user_has_no_secure_token() {
# required for Silicon Macs
/usr/bin/osascript <<EOT
display dialog "User $account_shortname has no secure token! Please login as one of the following users and try again: ${enabled_users}" buttons {"OK"} default button 1 with icon 2
display dialog "User $account_shortname has no Secure Token! Please login as one of the following users and try again: ${enabled_users}" buttons {"OK"} default button 1 with icon 2
EOT
}

Expand All @@ -197,7 +197,7 @@ check_password() {
else
echo " [check_password] ERROR: The password entered is NOT the login password for $user."
/usr/bin/osascript <<EOT
display dialog "User $user does not exist!" buttons {"OK"} default button 1 with icon 2
display dialog "ERROR: The password entered is NOT the login password for $user." buttons {"OK"} default button 1 with icon 2
EOT
exit 1
fi
Expand Down

0 comments on commit 52ef489

Please sign in to comment.