# HG changeset patch # User Pascal Bellard # Date 1359532860 -3600 # Node ID ab53ffd168278aeebdc3c10b2c844d4c846f9bb3 # Parent 1a00b5242294c759d3b0b4f1e1eea2f356f7178d limit log size, not stdout (again) diff -r 1a00b5242294 -r ab53ffd16827 cook --- a/cook Wed Jan 30 08:49:31 2013 +0100 +++ b/cook Wed Jan 30 09:01:00 2013 +0100 @@ -894,7 +894,7 @@ # Truncate stdout log file to $1 Mb. loglimit() { - tee /dev/stderr | dd bs=1024k count=${1:-50} 2> /dev/null + tee /dev/stderr | dd bs=1024k count=${1:-50} conv=noerror 2> /dev/null } #