aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshellcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shellcheck.sh b/shellcheck.sh
index 7c8dc6e..89bef45 100755
--- a/shellcheck.sh
+++ b/shellcheck.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-find "$(dirname "$0")" -maxdepth 1 -type f -executable -exec \
+find "$(dirname "$0")" -maxdepth 1 -type f -perm -100 -exec \
sh -c '
if head -n1 "$1" | egrep -q "sh$"; then
echo "====== CHECKING $1 ======";