fix error redir
This commit is contained in:
parent
cfd15aca3b
commit
bd300718e7
@ -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 >> "${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