Permalink
Browse files

plugins: do not use the "read w/o variable" bashism.

  • Loading branch information...
1 parent 7501128 commit 099cc00f5494e6eaabd12c0b8801b56fbdf0cdf6 intrigeri committed with steveschnepp Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/node.d.linux/selinux_avcstat.in
View
2 plugins/node.d.linux/selinux_avcstat.in
@@ -85,7 +85,7 @@ if [ "$1" = "config" ]; then
fi
if [ -r $AVCSTATS ]; then
- { read
+ { read HEADER
while read lookups hits misses allocations reclaims frees; do
LOOKUPS=$(($LOOKUPS + $lookups))
HITS=$(($HITS + $hits))

0 comments on commit 099cc00

Please sign in to comment.