mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
Minor code issues
This commit is contained in:
parent
41188ad42c
commit
a6f54a9bd3
@ -34,7 +34,7 @@ dump_file() {
|
||||
fi
|
||||
echo "--------"
|
||||
|
||||
if [ !-e "$log_file" ]; then
|
||||
if [ ! -e "$log_file" ]; then
|
||||
echo "DOES NOT EXIST"
|
||||
elif [ ! -z "$lines" ]; then
|
||||
tail -$lines "$log_file"
|
||||
|
@ -97,11 +97,11 @@ upstream_install() {
|
||||
add_data() {
|
||||
H1 "Add some Mail-in-a-Box data"
|
||||
local users=()
|
||||
users+="betsy@$(email_domainpart "$EMAIL_ADDR")"
|
||||
users+=("betsy@$(email_domainpart "$EMAIL_ADDR")")
|
||||
|
||||
local alises=()
|
||||
aliases+="goalias@testdom.com > ${users[0]}"
|
||||
aliases+="nested@testdom.com > goalias@testdom.com"
|
||||
aliases+=("goalias@testdom.com > ${users[0]}")
|
||||
aliases+=("nested@testdom.com > goalias@testdom.com")
|
||||
|
||||
local pw="$(generate_qa_password)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user