On Thu, 14 May 2009 12:35:13 +0100 James Bensley <jwbensley at gmail.com> wrote: > Update: these lines should be: > + $X that should be lower case. My guess is that because your variables all equal zero, it's possible that something is wrong with: find /usr/local/squidGuard/db -maxdepth 1 -type d | while read FOLDER; stick "set -x" under your #!/bin/sh to see what's running and what's not. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20090515/1355edac/attachment-0005.sig>