forked from ungleich-public/ccollect
fix incomplete output message
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
9d65e1b1bf
commit
39e8eb4c94
1 changed files with 2 additions and 2 deletions
|
@ -435,8 +435,8 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
||||||
|
|
||||||
pcmd ls -1 "${ddir}/"*"${CMARKER}" > "${TMP}" 2>/dev/null; ret=$?
|
pcmd ls -1 "${ddir}/"*"${CMARKER}" > "${TMP}" 2>/dev/null; ret=$?
|
||||||
|
|
||||||
if [ "$ret" -eq 0 ]; then
|
if [ "${ret}" -eq 0 ]; then
|
||||||
_techo "Incomplete backups: ${incomplete}"
|
_techo "Incomplete backups: $(echo $(cat "${TMP}"))"
|
||||||
if [ -f "${c_delete_incomplete}" ]; then
|
if [ -f "${c_delete_incomplete}" ]; then
|
||||||
delete_from_file "${TMP}" "${CMARKER}"
|
delete_from_file "${TMP}" "${CMARKER}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue