diff options
Diffstat (limited to 'tidy.sh')
-rwxr-xr-x | tidy.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,12 @@ if [ $# == 0 ]; then find www/ -name '*.html' -type f -print -exec tidy -mq -config tidy.conf '{}' \; + if [ $? -lt 2 ]; then + exit 0 + fi else tidy -mq -config tidy.conf $@ + if [ $? -lt 2 ]; then + exit 0 + fi fi |