What I meant

master
Keith Irwin 2022-09-15 21:40:42 -06:00
parent e17047184c
commit 1821bec28c
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ fi
# Get domains for each peer
if peers="[$("${LIB_DIR}/ips_to_peers" json <<<"${peers}")]"; then
printf '{"token":"%s","peers":%s}' "${token!}" "${peers!}" | "${LIB_DIR}/http_res" 200 'application/json'
printf '{"token":"%s","peers":%s}' "${token:?}" "${peers:?}" | "${LIB_DIR}/http_res" 200 'application/json'
printf 'Sent peers to admin %s\n' "${ip}" >>"${LOGFILE}"
else
printf 'ERROR: Failed to lookup user: %s\n' "${ip}" >>"${LOGFILE}"