aboutsummaryrefslogtreecommitdiff
path: root/sbopkglint.d/10-docs.t.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sbopkglint.d/10-docs.t.sh')
-rw-r--r--sbopkglint.d/10-docs.t.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/10-docs.t.sh b/sbopkglint.d/10-docs.t.sh
index 830e850..26e0255 100644
--- a/sbopkglint.d/10-docs.t.sh
+++ b/sbopkglint.d/10-docs.t.sh
@@ -32,7 +32,7 @@ if [ -d "$DOCDIR" ]; then
files="$( find $DOCDIR -type f -perm /111 )"
for f in $files; do
- head -1 $f | grep '^#!' && continue; # script file
+ head -1 $f | grep -q '^#!' && continue; # script file
badpermfiles+=" $f"
done