diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-11-19 00:12:36 +0100 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-11-19 00:12:36 +0100 |
commit | 1fcac8e4cbe4f503647f38d496055a2c1701b37f (patch) | |
tree | 66dd406723c032519bb91126dc1c42d4cff2f3f8 /etc | |
parent | dccfc56c5a745f8a7a52fa3525b3af2ea6d0ba44 (diff) |
fix
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/common | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |