1
0
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:
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
echo "--------"
if [ !-e "$log_file" ]; then
if [ ! -e "$log_file" ]; then
echo "DOES NOT EXIST"
elif [ ! -z "$lines" ]; then
tail -$lines "$log_file"

View 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)"