Skip to content

Commit

Permalink
changed error message default action
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Dec 30, 2024
1 parent 977e2de commit 1bf8f57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.ztnet/bash/ztnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ function failure() {
echo -e "\n${RED}Error report:${NC}\n$jsonError\n"

echo -e "\nDo you want to send the error report to ztnet.network admin for application improvements?"
echo -e "Only the above error message will be sent! [Default Yes]"
echo -e "Only the above error message will be sent! [Default No]"
sleep 0.1
ask_string "Yes / No ==> " "Yes" SEND_REPORT
ask_string "Yes / No ==> " "No" SEND_REPORT

if [ -z "$SEND_REPORT" ]; then
SEND_REPORT="yes"
Expand Down

0 comments on commit 1bf8f57

Please sign in to comment.