Update mail.sh

This commit is contained in:
myve 2024-03-25 15:13:08 -06:00
commit c165a8f819

10
mail.sh
View file

@ -19,32 +19,32 @@ function die
}
# Grab options
while [ ${1} != "" ]
while [ ${1} ]
do
case ${1} in
-u | --user )
if [ ${2} != "" ]
if [ ${2} ]
then
username=${2}
shift
fi
;;
-p | --port )
if [ ${2} != "" ]
if [ ${2} ]
then
ssh_port=${2}
shift
fi
;;
-d | --domain )
if [ ${2} != "" ]
if [ ${2} ]
then
domain_url=${2}
shift
fi
;;
-m | --mail-user )
if [ ${2} != "" ]
if [ ${2} ]
then
mailuser=${2}
shift