1
0
forked from wrenn/wrenn

Changed commands to check if envd is statically linked or not

This commit is contained in:
Tasnim Kabir Sadik
2026-05-12 23:19:30 +06:00
parent aca43d51eb
commit 8c34388fc2
2 changed files with 7 additions and 3 deletions

View File

@ -57,7 +57,7 @@ if [ ! -f "${ENVD_BIN}" ]; then
exit 1
fi
if ! file "${ENVD_BIN}" | grep -q "statically linked"; then
if ! ldd "${ENVD_BIN}" | grep -q "statically linked"; then
echo "ERROR: envd is not statically linked!"
exit 1
fi