We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ec8d8a commit 62de3e1Copy full SHA for 62de3e1
scripts/go-assert-static.sh
@@ -10,7 +10,7 @@ for exe in "${@}"; do
10
exit 1
11
fi
12
13
- if ! file "${exe}" | grep -E '.*ELF.*executable, .*, statically linked,.*'; then
+ if ! file "${exe}" | grep -E '.*ELF.*executable, .*, (statically|static-pie) linked,.*'; then
14
file "${exe}" >&2
15
echo "${exe}: not a statically linked executable" >&2
16
0 commit comments