join line

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-11-01 15:17:01 +01:00
parent e9c02b8e2d
commit 49cb1f92ee

View file

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