diff options
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 |