mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
check-links.sh: treat PIE executable as elf files
This commit is contained in:
parent
3fcbde5e88
commit
88741a40c8
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ fi
|
|||
mime=$(file -L --mime-type $1)
|
||||
isbin=0
|
||||
case $mime in
|
||||
*application/x-executable) isbin=1 ;;
|
||||
*application/x-executable|*application/x-pie-executable) isbin=1 ;;
|
||||
*application/x-sharedlib);;
|
||||
*) echo "Not an elf file" >&2 ; exit 1;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Reference in a new issue