cookutils rev 578 3.1.1
limit log size, not stdout (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 30 09:01:00 2013 +0100 (2013-01-30) |
parents | 1a00b5242294 |
children | acbe3bd390d8 |
files | cook |
line diff
1.1 --- a/cook Wed Jan 30 08:49:31 2013 +0100 1.2 +++ b/cook Wed Jan 30 09:01:00 2013 +0100 1.3 @@ -894,7 +894,7 @@ 1.4 # Truncate stdout log file to $1 Mb. 1.5 loglimit() 1.6 { 1.7 - tee /dev/stderr | dd bs=1024k count=${1:-50} 2> /dev/null 1.8 + tee /dev/stderr | dd bs=1024k count=${1:-50} conv=noerror 2> /dev/null 1.9 } 1.10 1.11 #