Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Only accept exactly 'y' to send analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Oct 22, 2019
1 parent e30a1a0 commit 4589574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/mixpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ case $ANALYTICS in
echo ''
echo -n 'Do you want to send this anonymous installation notification? [yN] '
read -r ACCEPT
if [[ $ACCEPT =~ 'y' ]]; then
if [[ $ACCEPT == y ]]; then
echo ''
echo 'Thanks for supporting Postfacto!'
echo ''
Expand Down

0 comments on commit 4589574

Please sign in to comment.