From bd300718e7646202a876c9e690ba7b8735c55d50 Mon Sep 17 00:00:00 2001 From: paspo Date: Wed, 16 Oct 2024 11:56:23 +0200 Subject: [PATCH] fix error redir --- btrbk-cron | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk-cron b/btrbk-cron index 3b1615a..52d8355 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 >> "${LOGFILE}" 2>&1 ret=$? if [[ "${ret}" -eq "0" ]]; then if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then