comment cleanups

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-07-27 09:52:18 +02:00
parent c2bc225dc0
commit 428670b4e7

View file

@ -429,7 +429,7 @@ while [ "${i}" -lt "${no_sources}" ]; do
done done
# #
# interval definition: First try source specific, fallback to default # Interval definition: First try source specific, fallback to default
# #
c_interval="$(cat "${backup}/intervals/${INTERVAL}" 2>/dev/null)" c_interval="$(cat "${backup}/intervals/${INTERVAL}" 2>/dev/null)"
@ -442,8 +442,8 @@ while [ "${i}" -lt "${no_sources}" ]; do
fi fi
# #
# check if maximum number of backups is reached, if so remove # Check: maximum number of backups is reached?
# use grep and ls -p so we only look at directories # If so remove. Use grep and ls -p so we only look at directories
# #
count="$(pcmd ls -p1 "${ddir}" | grep "^${INTERVAL}\..*/\$" | wc -l \ count="$(pcmd ls -p1 "${ddir}" | grep "^${INTERVAL}\..*/\$" | wc -l \
| sed 's/^ *//g')" || _exit_err "Counting backups failed" | sed 's/^ *//g')" || _exit_err "Counting backups failed"