Don't save header in file
This commit is contained in:
parent
0089bc6c3d
commit
d165a90aad
|
@ -52,7 +52,9 @@ count_directives() {
|
|||
}
|
||||
|
||||
display_results() {
|
||||
printf 'File\tAllow\tOrder\tDeny\tSatsify\n'
|
||||
mv -b "$files_with_directives" "$files_with_directives".bak || true
|
||||
|
||||
printf 'File\tAllow\tOrder\tDeny\tSatsify\n' >&2
|
||||
# TODO make shellcheck happy
|
||||
for file in $(cat $conf_files); do
|
||||
count_directives "$file" | tee -a "$files_with_directives"
|
||||
|
|
Loading…
Reference in a new issue