fix incomplete output message

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-10-30 19:45:03 +01:00
parent 9d65e1b1bf
commit 39e8eb4c94

View file

@ -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