mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
chore: change argument name and parameter shift
This commit is contained in:
parent
d221c585c2
commit
6e6b5be1ee
|
@ -64,7 +64,7 @@ do
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
else
|
else
|
||||||
echo "No keysize provided after 'size' argument. Aborting." >&2
|
echo "No keysize provided after 'keysize' argument. Aborting." >&2
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
@ -86,8 +86,8 @@ do
|
||||||
if [[ -n ${2+'set'} ]]
|
if [[ -n ${2+'set'} ]]
|
||||||
then
|
then
|
||||||
DOMAINS="${2}"
|
DOMAINS="${2}"
|
||||||
break
|
shift
|
||||||
break
|
shift
|
||||||
else
|
else
|
||||||
echo "No domain(s) provided after 'domain' argument. Aborting." >&2
|
echo "No domain(s) provided after 'domain' argument. Aborting." >&2
|
||||||
exit 2
|
exit 2
|
||||||
|
|
Loading…
Reference in a new issue