basics - fix echoinfoArgs

This commit is contained in:
2022-12-19 22:27:41 +01:00
parent 423d95a6b3
commit 2e598b01c9

View File

@@ -47,13 +47,14 @@ CONFIG_FILE_SSMTP_AL="$sc_configLoc/revaliases.cfg"
CONFIG_FILE_SSMTP_AL_TEMPLATE="${CONFIG_FILE_SSMTP}.example" CONFIG_FILE_SSMTP_AL_TEMPLATE="${CONFIG_FILE_SSMTP}.example"
step_13_info() { step_13_info() {
echoinfoArgs "<MAILADDRESS>"; echo -n "Send test E-Mail" echo -n "Send test E-Mail"
if [ -z "${2:-}" ] ; then if [ -z "${2:-}" ] ; then
echo " to MAILADDRESS" echo " to MAILADDRESS"
else else
echo " to ${2}" echo " to ${2}"
fi fi
} }
step_13_options() { echo "<MAILADDRESS>"; }
step_13_alias() { echo "smtpTest"; } step_13_alias() { echo "smtpTest"; }
step_13() { step_13() {
[[ -z "${2:-}" ]] && fatal -e "No mailaddress provided" [[ -z "${2:-}" ]] && fatal -e "No mailaddress provided"