From db8e656613662095cc217083ccd43af1249ad9c9 Mon Sep 17 00:00:00 2001 From: paspo Date: Tue, 22 Oct 2024 11:21:13 +0200 Subject: [PATCH] gather all logs --- btrbk-cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk-cron b/btrbk-cron index 52d8355..719ce08 100755 --- a/btrbk-cron +++ b/btrbk-cron @@ -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