diff options
-rwxr-xr-x | functions/tech-support | 2 | ||||
-rwxr-xr-x | functions/tech-support-brief | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/functions/tech-support b/functions/tech-support index 1d10a9f..5c96691 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -20,7 +20,7 @@ DEFAULT_GROUP=users do_rotate () { local count=`ls -t $DEFAULT_PATH/*.tech-support.* 2>/dev/null |wc -l` - if (( count >= 10 )); then + if (( count >= 100 )); then local dfile=`ls -t $DEFAULT_PATH/*.tech-support.* 2>/dev/null |tail -1` rm -f $dfile >&/dev/null \ && echo "Removed old tech-support output file '$dfile'" diff --git a/functions/tech-support-brief b/functions/tech-support-brief index 0521416..27c62fd 100755 --- a/functions/tech-support-brief +++ b/functions/tech-support-brief @@ -19,7 +19,7 @@ DEFAULT_GROUP=users do_rotate () { local count=`ls -t $DEFAULT_PATH/*.tech-support.* 2>/dev/null |wc -l` - if (( count >= 10 )); then + if (( count >= 100 )); then local dfile=`ls -t $DEFAULT_PATH/*.tech-support.* 2>/dev/null |tail -1` rm -f $dfile >&/dev/null \ && echo "Removed old tech-support brief output file '$dfile'" |