Added newline

master
Keith Irwin 2022-09-08 13:00:53 -06:00
parent 6f8b123377
commit 302d16bfb6
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ case "${REQUEST_METHOD}" in
fi
peers="[$(sudo ${LIB_DIR}/wg_peer_list ${REMOTE_ADDR} json)]"
case ${?} in
0) printf "Sent peers to user ${REMOTE_ADDR}" >>"${LOGFILE}"
0) printf "Sent peers to user ${REMOTE_ADDR}\n" >>"${LOGFILE}"
printf "${peers}" | "${LIB_DIR}/http_res" 200 'application/json';;
*) printf "ERROR: Failed to lookup user: ${REMOTE_ADDR}\n" >>"${LOGFILE}"
printf 'Failed to lookup user' | "${LIB_DIR}/http_res" 500;;