gather all logs

This commit is contained in:
Paolo Asperti 2024-10-22 11:21:13 +02:00
parent 9725a09c06
commit db8e656613
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -85,7 +85,7 @@ if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then
fi
echo
echo "healthcheck notified! (start)" | tee -a "${LOGFILE}"
nice -n 19 /usr/bin/ionice -c idle /usr/bin/btrbk -v --progress run >> "${LOGFILE}" 2>&1
(nice -n 19 /usr/bin/ionice -c idle /usr/bin/btrbk -v --progress run 2>&1 || true) | tee -a "${LOGFILE}" 2>&1
ret=$?
if [[ "${ret}" -eq "0" ]]; then
if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then