fix error redir

This commit is contained in:
Paolo Asperti 2024-10-16 11:56:23 +02:00
parent cfd15aca3b
commit bd300718e7
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 >> "${LOGFILE}" 2>&1
ret=$?
if [[ "${ret}" -eq "0" ]]; then
if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then