Skip to content

Commit

Permalink
fix: correct grammatical errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ttionya committed Jul 20, 2024
1 parent beee466 commit 5d635bf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/includes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ function send_mail() {

echo "$2" | mail ${MAIL_VERBOSE} -s "$1" ${MAIL_SMTP_VARIABLES} "${MAIL_TO}"
if [[ $? != 0 ]]; then
color red "mail sending failed"
color red "mail sending has failed"
else
color blue "mail send was successfully"
color blue "mail has been sent successfully"
fi
}

Expand Down Expand Up @@ -131,15 +131,15 @@ function send_mail_content() {
# ping name
########################################
function send_ping() {
if [[ -z "${1}" ]]; then
if [[ -z "$1" ]]; then
return
fi

wget "${1}" -T 15 -t 10 -O /dev/null -q
wget "$1" -T 15 -t 10 -O /dev/null -q
if [[ $? != 0 ]]; then
color red "${2} ping sending failed"
color red "$2 ping sending has failed"
else
color blue "${2} ping send was successfully"
color blue "$2 ping has been sent successfully"
fi
}

Expand Down

0 comments on commit 5d635bf

Please sign in to comment.