Skip to content

Commit

Permalink
Updated if-statement after msf framework warning.
Browse files Browse the repository at this point in the history
In hindsight: if I wanted default behavior to be Yes, I should be looking for a No, so I made some changes.
  • Loading branch information
squeeve authored Jan 5, 2018
1 parent ea3a481 commit a9ee5f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func_check_env(){
echo -e "\n ${BOLD}[!] NON-KALI Users: Before you begin the install, make sure that you have"
echo -e " the Metasploit-Framework installed before you proceed!${RESET}\n"
read -p 'Continue? ([Y]/[n]o): ' installveil
if [ "${installveil}" != 'y' ] || [ "${installveil}" != 'Y' ]; then
if [ "${installveil}" == 'n' ] || [ "${installveil}" == 'N' ]; then
echo -e "\n ${RED}[ERROR]: Installation aborted by user.${RESET}\n"
exit 1
fi
Expand Down

0 comments on commit a9ee5f8

Please sign in to comment.