From 49cb1f92eeaec36e0d3068ca8845161d5f0fb4c1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 1 Nov 2009 15:17:01 +0100 Subject: [PATCH] join line Signed-off-by: Nico Schottelius --- ccollect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 491710d..23bab24 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -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}"