fix
parent
c573208310
commit
6ed23a9d08
|
@ -58,8 +58,8 @@ printf '%s identified as %s\n' "${ip}" "${username}" >>"${LOGFILE}"
|
|||
domain="${hostname}.${username}.${TLD}"
|
||||
|
||||
# Check if new peer already exists
|
||||
printf '%s' "${hostnames}"
|
||||
printf "${hostname}"
|
||||
printf '%s' "${hostnames}" >>"${LOGFILE}"
|
||||
printf "${hostname}" >>"${LOGFILE}"
|
||||
printf '%s' "${hostnames}" | grep -o "${hostname}" && (
|
||||
printf '%s.%s.%s already exists!\n' "${hostname}" "${username}" "${TLD}" >>"${LOGFILE}"
|
||||
printf 'Hostname %s already exists!\n' "${hostname}" | "${LIB_DIR}/http_res" 409
|
||||
|
|
Loading…
Reference in New Issue