Skip to content

Commit a35a73c

Browse files
Update Log_rotate.sh
1 parent 9ed02a9 commit a35a73c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Log_rotate.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ touch ${f}
1212
MAXSIZE=$((4096*1024))
1313

1414
size=`du -b ${f} | tr -s '\t' ' ' | cut -d' ' -f1`
15+
echo $size
1516
if [ ${size} -gt ${MAXSIZE} ]
1617
then
1718
echo Rotating!

0 commit comments

Comments
 (0)