Don't fail if it succeeded

master
Keith Irwin 2022-11-06 18:36:25 -07:00
parent 497e4c10c3
commit 2490514c1b
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ if ! [ -f "${path}" ]; then
fi
# Try to return it to the user
if ! <"${path}" "${LIB_DIR}/http_res" 200; then
if <"${path}" "${LIB_DIR}/http_res" 200; then
printf 'Sent SSL file "%s" to %s\n' "${path}" "${username}" >>"${LOGFILE}"
else
printf 'ERROR! Failed to return file: "%s"\n' "${path}" | tee -a "${LOGFILE}" | "${LIB_DIR}/http_res" 500