forked from ungleich-public/ccollect
join line
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
e9c02b8e2d
commit
49cb1f92ee
1 changed files with 2 additions and 2 deletions
|
@ -462,8 +462,8 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
|||
# Check: maximum number of backups is reached?
|
||||
#
|
||||
|
||||
count="$(pcmd ls -d1 "${ddir}/${INTERVAL}."*"/" | wc -l \
|
||||
| sed 's/^ *//g')" || _exit_err "Counting backups failed"
|
||||
count="$(pcmd ls -d1 "${ddir}/${INTERVAL}."*"/" | wc -l | sed 's/^ *//g')" \
|
||||
|| _exit_err "Counting backups failed"
|
||||
|
||||
_techo "Existing backups: ${count} Total keeping backups: ${c_interval}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue