Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] spawn.sh: also accept localhost for localhost domain

  • Loading branch information...
commit 3e5545088663cbcdb2a8705e8b7558a63c82a88f 1 parent 1b416c3
@Aqua-Ye Aqua-Ye authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  dissemination/spawn.sh
View
2  dissemination/spawn.sh
@@ -406,7 +406,7 @@ MAIN_HOST=""
hp=${HOSTS[0]}
TRAILING_DOMAIN=${hp##*.}
echo_debug "... $hp has domain '$TRAILING_DOMAIN'"
- if [ $TRAILING_DOMAIN = "local" ] ; then
+ if [ $TRAILING_DOMAIN = "local" ] || [ $TRAILING_DOMAIN = "localhost" ] ; then
FILE=$(mktemp $TMP_DIR/dns-sd-XXXXX)
echo_debug "... Creating temporary file: '$FILE'"
case $OS in
Please sign in to comment.
Something went wrong with that request. Please try again.