simply check for incomplete backups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9cb8b99353
commit
e39e53d0fb
1 changed files with 2 additions and 1 deletions
1
ccollect
1
ccollect
|
@ -461,6 +461,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
|||
#
|
||||
# Check: maximum number of backups is reached?
|
||||
#
|
||||
# FIXME: simplify, grep, cd? => no star, does not get expanded on failure
|
||||
count="$(pcmd ls -d1 "${ddir}/${INTERVAL}."*"/" | wc -l | sed 's/^ *//g')" \
|
||||
|| _exit_err "Counting backups failed"
|
||||
|
||||
|
|
Loading…
Reference in a new issue