From aaf43af0d9712aea32de8e63f296afea8a24f8e5 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 15 Jan 2011 02:37:14 +0100 Subject: [PATCH] fix count of backups Signed-off-by: Nico Schottelius --- ccollect | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ccollect b/ccollect index b2ff34f..1cd295d 100755 --- a/ccollect +++ b/ccollect @@ -437,8 +437,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do # # Check: maximum number of backups is reached? # - count="$(ls -1 | grep -c "^${INTERVAL}\\.")" \ - || _exit_err "Counting backups failed" + count="$(ls -1 | grep -c "^${INTERVAL}\\.")" _techo "Existing backups: ${count} Total keeping backups: ${c_interval}"