gather all logs
This commit is contained in:
parent
9725a09c06
commit
db8e656613
@ -85,7 +85,7 @@ if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then
|
|||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
echo "healthcheck notified! (start)" | tee -a "${LOGFILE}"
|
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=$?
|
ret=$?
|
||||||
if [[ "${ret}" -eq "0" ]]; then
|
if [[ "${ret}" -eq "0" ]]; then
|
||||||
if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then
|
if [[ "${HEALTHCHECK_ENABLE}" = "true" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user