create_sympa_listdomain.sh: fix code error - missing 'done'.

This commit is contained in:
Christoph 2021-04-13 10:04:23 +02:00
parent 5fbb856136
commit 918334e413

View File

@ -405,6 +405,7 @@ for _listmaster in "${listmaster_arr[@]}" ; do
else else
SYMPA_LISTMASTER="${SYMPA_LISTMASTER},$_listmaster" SYMPA_LISTMASTER="${SYMPA_LISTMASTER},$_listmaster"
fi fi
done
SYMPA_LISTMASTER="$(echo $SYMPA_LISTMASTER | sed 's/\(.\)\1*/\1/g')" SYMPA_LISTMASTER="$(echo $SYMPA_LISTMASTER | sed 's/\(.\)\1*/\1/g')"
# Remove trailling ',' # Remove trailling ','
SYMPA_LISTMASTER="${SYMPA_LISTMASTER%,}" SYMPA_LISTMASTER="${SYMPA_LISTMASTER%,}"