mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-31 16:15:04 +02:00
change if style (#3361)
This commit is contained in:
parent
0e592aa911
commit
cf74127f78
58 changed files with 297 additions and 594 deletions
|
@ -155,8 +155,7 @@ function _main
|
|||
( show-mail-logs ) cat /var/log/mail/mail.log ;;
|
||||
( login )
|
||||
shift 2
|
||||
if [[ -z ${1:-} ]]
|
||||
then
|
||||
if [[ -z ${1:-} ]]; then
|
||||
/bin/bash
|
||||
else
|
||||
/bin/bash -c "${@}"
|
||||
|
@ -171,8 +170,7 @@ function _main
|
|||
esac
|
||||
}
|
||||
|
||||
if [[ -z ${1:-} ]]
|
||||
then
|
||||
if [[ -z ${1:-} ]]; then
|
||||
_usage
|
||||
else
|
||||
_main "${@}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue