summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-11-19 00:12:36 +0100
committerJoerg Jaspert <joerg@debian.org>2008-11-19 00:12:36 +0100
commit1fcac8e4cbe4f503647f38d496055a2c1701b37f (patch)
tree66dd406723c032519bb91126dc1c42d4cff2f3f8 /etc
parentdccfc56c5a745f8a7a52fa3525b3af2ea6d0ba44 (diff)
fix
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r--etc/common3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/common b/etc/common
index 54340ee..062afce 100644
--- a/etc/common
+++ b/etc/common
@@ -161,8 +161,7 @@ get2stage() {
# Rotate logfiles
savelog() {
torotate="$1"
- count=${2:-"${LOGROTATE}"}
- echo "Rotation $torotate a $count times"
+ count=${2:-${LOGROTATE}}
while [ ${count} -gt 0 ]; do
prev=$(( count - 1 ))
if [ -e "${torotate}.${prev}" ]; then