1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00

Minor code issues

This commit is contained in:
downtownallday 2020-06-14 18:23:11 -04:00
parent 41188ad42c
commit a6f54a9bd3
2 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ dump_file() {
fi fi
echo "--------" echo "--------"
if [ !-e "$log_file" ]; then if [ ! -e "$log_file" ]; then
echo "DOES NOT EXIST" echo "DOES NOT EXIST"
elif [ ! -z "$lines" ]; then elif [ ! -z "$lines" ]; then
tail -$lines "$log_file" tail -$lines "$log_file"

View File

@ -97,11 +97,11 @@ upstream_install() {
add_data() { add_data() {
H1 "Add some Mail-in-a-Box data" H1 "Add some Mail-in-a-Box data"
local users=() local users=()
users+="betsy@$(email_domainpart "$EMAIL_ADDR")" users+=("betsy@$(email_domainpart "$EMAIL_ADDR")")
local alises=() local alises=()
aliases+="goalias@testdom.com > ${users[0]}" aliases+=("goalias@testdom.com > ${users[0]}")
aliases+="nested@testdom.com > goalias@testdom.com" aliases+=("nested@testdom.com > goalias@testdom.com")
local pw="$(generate_qa_password)" local pw="$(generate_qa_password)"