diff options
-rw-r--r-- | mailman/mklist.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc index f4dba3c..47ee3b6 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -24,7 +24,7 @@ mklist() { lang="${1:-$LISTLANG}" owner="${2:-$OWNER}" emailhost="${3:-$LISTDOMAIN}" - urlhost="${4:-$LISTWEBDOMAIN}" + urlhost="${4:-${LISTWEBDOMAIN:-$emailhost}}" if ! echo "$existinglists" | grep -q "^$list\$"; then newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "`gpw | head -n 1`" |