unify error messages

This commit is contained in:
Klaus Sperner 2021-09-17 17:23:29 +02:00
parent 00e9b169b8
commit 16b6a9c9df
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ check_programs_installed() {
}
if [[ "${BASH_VERSINFO:-0}" -lt 4 ]]; then
>&2 echo "The plugin http_response needs at least bash version 4"
>&2 echo "The plugin http_response needs at least bash version 4. Aborting."
exit 1
fi
@ -218,7 +218,7 @@ short_label=${short_label:-"false"}
follow_redirect=${follow_redirect:-"false"}
if [[ ! "$max_time" =~ ^[0-9]+$ ]]; then
>&2 echo "Invalid configuration: max_time $max_time must contain only digits"
>&2 echo "Invalid configuration: max_time $max_time must contain only digits. Aborting."
exit 1
fi