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=$?
|
||||
|
||||
if [ "$ret" -eq 0 ]; then
|
||||
_techo "Incomplete backups: ${incomplete}"
|
||||
if [ "${ret}" -eq 0 ]; then
|
||||
_techo "Incomplete backups: $(echo $(cat "${TMP}"))"
|
||||
if [ -f "${c_delete_incomplete}" ]; then
|
||||
delete_from_file "${TMP}" "${CMARKER}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue