Permalink
Browse files

Do not check for unnecessary execute permissions

  • Loading branch information...
1 parent 2201367 commit 65648a28548cb95b158ca72e940e535a3dfa13c0 @rg3 committed Feb 6, 2010
Showing with 1 addition and 7 deletions.
  1. +1 −7 lddsafe
View
@@ -25,12 +25,6 @@ findexec()
which "$1" 2>/dev/null || die "$1 not found"
}
-# Check file exists and is executable.
-checkexec()
-{
- [ -x "$1" ] || die "$1 missing or not executable"
-}
-
# Check file exists and is readable.
checkreadable()
{
@@ -61,7 +55,7 @@ if [ $# -eq 0 ]; then
exit 1
fi
for arg in "$@"; do
- checkexec "$1"
+ checkreadable "$1"
done
# Recursively print the list of files included from /etc/ld.so.conf.

0 comments on commit 65648a2

Please sign in to comment.