summaryrefslogtreecommitdiff
path: root/etc/common
diff options
context:
space:
mode:
Diffstat (limited to 'etc/common')
-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