From 92707e9d012bfa81a7bbfce08265dd56d720347d Mon Sep 17 00:00:00 2001 From: Michael Kebe Date: Thu, 4 Mar 2021 15:21:27 +0100 Subject: [PATCH] Use the linux lograte naming style --- open-vm-tools/scripts/linux/network | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-vm-tools/scripts/linux/network b/open-vm-tools/scripts/linux/network index 0c2a93e5a..b8993d31b 100644 --- a/open-vm-tools/scripts/linux/network +++ b/open-vm-tools/scripts/linux/network @@ -37,9 +37,9 @@ rotate_logfile() { max=`expr $max - 1` for s in `seq $max -1 1`; do d=`expr $s + 1` - mv -f $logbase.$s.log $logbase.$d.log + mv -f $logbase.log.$s $logbase.log.$d done - mv -f $logbase.log $logbase.1.log + mv -f $logbase.log $logbase.log.1 } rotate_logfile